create SOAP-Client and send files

From: Mr. S (MailMr_S_at_gmx.de)
Date: 03/29/05


Date: 29 Mar 2005 03:09:39 -0800

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



Relevant Pages