create SOAP-Client and send files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mr. S

    create SOAP-Client and send files

    Hi!

    I need a SOAP request like this


    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap .org/soap/envelope/"
    xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Header>
    <XHeader>
    <user>foo</user>
    <password>bar </password>
    </XHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <Datei>
    <Name>bild1.gif </Name>
    <Mime>gif</Mime>
    <Groesse>1645 </Groesse>
    </Datei>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>


    with username and password. Additionally the described file should be
    an attachment. I looked at PEAR::SOAP
    (http://pear.php.net/package/SOAP), but I have no idea how it works.
    The documentation is offline. I hope someone can help me. PHP-SOAP
    extension is enabled and PEAR::SOAP is downloaded.

    THX
    Mr. S
Working...