This is a discussion on create SOAP-Client and send files within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi! I need a SOAP request like this <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |