|
Re: Attachments help-newbie questions: msg#00134php.nusoap.general
NuSOAP currently only supports attachments in the client code. This means a NuSOAP client can interact with a non-NuSOAP SOAP service that receives or sends attachments, but a NuSOAP SOAP service cannot receive or send attachments (yet). Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Jonathan Staines" <jon@xxxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, May 25, 2004 10:44 AM Subject: [Nusoap-general] Attachments help-newbie questions > Hi, > > I'm sorry if this is a repeat of another post and has been asked before, but > I have tried going through the archives and am still in need of help. > > Whenever I try to send a SOAP request with an attachment I get the response: > > Array ( [faultcode] => Server [faultactor] => [faultstring] => error in msg > parsing: XML error parsing SOAP payload on line 1: not well-formed (invalid > token) [detail] => Array ( [soapVal] => ) ) > > > > Can anybody point me towards some example scripts/tutorials that might shed > light on where I am going wrong? > > If it helps, here is an example of the request: > > > POST /EU/testServer.php HTTP/1.1 > User-Agent: NuSOAP/0.6.7 (1.75) > Host: localhost > Content-Type: multipart/related; > boundary="=_c8d7de91b85449e3f17a52dce5d75c67" > SOAPAction: "" > Content-Length: 947 > --=_c8d7de91b85449e3f17a52dce5d75c67 > Content-Type: text/xml; charset="ISO-8859-1" > Content-Transfer-Encoding: 8bit > <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:si="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:sendPackage > xmlns:ns1="http://testuri.org"><name > xsi:type="xsd:string">Scott</name></ns1:sendPackage></SOAP-ENV:Body></SOAP-ENV:Envelope> > > --=_c8d7de91b85449e3f17a52dce5d75c67 > Content-Type: application/octet-stream > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; filename="./testfile.txt" > Content-ID: <edef497bf1f73078d3ea63356a731ac6> > > aGVsbG8gZXZlcnlvbmUK > > --=_c8d7de91b85449e3f17a52dce5d75c67-- > > > Regards > Jonathan > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nusoap-general mailing list > Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/nusoap-general > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: htaccess login credentials: 00134, Jan Horsman |
|---|---|
| Next by Date: | Re: How do i securely transmit data with nuSOAP without using CURL or CRYPTLIB ?: 00134, Scott Nichol |
| Previous by Thread: | Attachments help-newbie questionsi: 00134, Jonathan Staines |
| Next by Thread: | Re: How do i securely transmit data with nuSOAP without using CURL or CRYPTLIB ?: 00134, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |