Looks like if you can transfer the data encoded, anything should be able to decode it right? We send Word, PDF, JPG, BMP, exe, .... document attachments all the time using NuSOAP as the client/server although I haven't had time to upgrade it to PHP5 native. I'm waiting on a way to generate the WSDL as easy as NuSOAP does:) In my servers WSDL, I have: .. <xsd:element name="file_name" type="xsd:string" new_order="file_name" /> <xsd:element name="file_size" type="xsd:string" new_order="file_size" /> <xsd:element name="file_type" type="xsd:string" new_order="file_type" /> <xsd:element name="file_contents" type="xsd:base64Binary" new_order="file_contents" /> .. Then in my NuSOAP client, I base64_encode any file that I can read as a string. In my case, files that are uploaded ($_FILES[]) to the SOAP client via a web form. Using: $file_contents = base64_encode($uploaded_content); Back on the server, I think NuSOAP decodes it for me because I'm not doing anything special, just stuffing it in a MySQL blob. To get it out of the blob, I just SELECT and echo it out to state it simply. I even have several Windows (.net) clients using that WSDL. Regards, Shanon www.ntxinternet.com -----Original Message----- From: Samisa Abeysinghe [mailto:samisa.abeysinghe@gmail.com] Sent: Thursday, January 24, 2008 8:15 PM To: Guilhem Martin Cc: soap@lists.php.net Subject: Re: SOAP and attachment Guilhem Martin wrote: > Hello all, > > I was not able to find in the PHP SOAP documentation anything about sending > attachment. > So my question is: does PHP SOAP extension support SOAP attachment? > No. Samisa... -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php