logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: error in in receiving result: msg#00057

Subject: Re: error in in receiving result
The service is doing something that is not per-spec.  The "string" 
response is treated as just that: a string, specifically in ISO-8859-1 
encoding the service has specified.  If the service is truly stuffing 
binary data in the XML, that is a problem.  The binary data within the 
XML will be treated by all comformant XML parsers as a string in 
ISO-8859-1.  In this case, the parser has done just that and has found 
some embedded text that makes the XML illegal.

Normally, a service that wants to return binary data will just encode it 
using base64.

Scott Nichol
----- Original Message ----- 
From: "Anugrah Widya" <anuwidy@xxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, March 05, 2007 1:14 PM
Subject: Re: [Nusoap-general] error in in receiving result


> hi there, thanks for helping me here the data i got from response:
>
> HTTP/1.1 200 OK
> Date: Mon, 05 Mar 2007 17:04:23 GMT
> Server: Apache/2.2.3 (Fedora)
> X-Powered-By: PHP/5.1.6
> X-SOAP-Server: NuSOAP/0.7.2 (1.94)
> Content-Length: 7347
> Connection: close
> Content-Type: text/xml; charset=ISO-8859-1
>
> <?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/";>
> <SOAP-ENV:Body>
> <ns1:getNewImageResponse xmlns:ns1="http://tempuri.org";>
> <return xsi:type="xsd:string">Binary Data - Stripped</return>
> </ns1:getNewImageResponse>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> by the way, i;m noob in using this tools :D
> so thanks, for helping me solve
>
> for info i got this trouble for about 2 month, and still got no 
> solution
> of it.
>
> Jamie Saunders wrote:
>> Hi,
>>
>> Can you post the XML response (without the binary data) - without
>> seeing that it's almost impossible to tell what's going on.
>>
>>
>> Regards,
>>
>> --Jamie Saunders
>> Interactive Developer
>>
>> Featurecreep Ltd.
>> http://www.featurecreep.com
>> 14 Orchard Street, Bristol, BS1 5EH
>> 0117 905 5078
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to 
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>