<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://docu.mdsws.merlinx.pl/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://docu.mdsws.merlinx.pl/feed.php">
        <title>MDSWS base</title>
        <description></description>
        <link>http://docu.mdsws.merlinx.pl/</link>
        <image rdf:resource="http://docu.mdsws.merlinx.pl/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-08T23:04:37+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://docu.mdsws.merlinx.pl/base:examples"/>
                <rdf:li rdf:resource="http://docu.mdsws.merlinx.pl/base:usage"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://docu.mdsws.merlinx.pl/lib/tpl/dokuwiki/images/favicon.ico">
        <title>MDSWS</title>
        <link>http://docu.mdsws.merlinx.pl/</link>
        <url>http://docu.mdsws.merlinx.pl/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://docu.mdsws.merlinx.pl/base:examples">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-08T11:58:23+02:00</dc:date>
        <title>Sample code for communication with the service</title>
        <link>http://docu.mdsws.merlinx.pl/base:examples</link>
        <description>Sample code for communication with the service


&lt;?php

function post_xml($url, $xml){ 
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_POST,   1);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
    curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);

    $response = curl_exec($ch);
    curl_close($ch);
    return $response;
}  

$xml = new XMLWriter(); 
$xml-&gt;openMemory(); 
$xml-&gt;startDocument('1.0', 'UTF-8');

$xml-&gt;startElement('mds');

    $xml-&gt;startE…</description>
    </item>
    <item rdf:about="http://docu.mdsws.merlinx.pl/base:usage">
        <dc:format>text/html</dc:format>
        <dc:date>2021-10-20T11:04:50+02:00</dc:date>
        <title>Basic access of service</title>
        <link>http://docu.mdsws.merlinx.pl/base:usage</link>
        <description>Basic access of service

Communications

MDSWS Service communicates via XML, encoded as UTF-8. The XML data must be sent as a HTTP POST request to the address of the service (XML passed as RAW_POST_DATA).

Authorization

Each request must contain authorization data in the header part of the basic questions</description>
    </item>
</rdf:RDF>
