|
Re: Debugging: msg#00069php.nusoap.general
I took al look on the ?debug=1 issue. MS Internet Explorer 6.0 does indeed not show any output (blank window) on the http://eazypro.wild.net/interactive/_WebServices/PolicyInterfaceWebService.php?debug=1 url. Mozilla Firefox 0.8 howerver shows the SOAP message and debug info! So this is a IE browser problem rather than a bug in NuSoap. This is the output shown by Firefox: //------------------------------- <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> - <SOAP-ENV:Body> - <SOAP-ENV:Fault> <faultcode>Server</faultcode> <faultactor/> <faultstring>error in msg parsing: xml was empty, didn't parse!</faultstring> - <detail> <soapVal xsi:type="xsd:string"/> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> - <!-- soap_server: entering parse_request() on 04:47 2004-05-13 soap_server: Accept: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 soap_server: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 soap_server: Accept-Encoding: gzip,deflate soap_server: Accept-Language: en-us,en;q=0.5 soap_server: Connection: keep-alive soap_server: Host: eazypro.wild.net soap_server: Keep-Alive: 300 soap_server: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 soap_server: got character encoding: UTF-8 soap_server: parser debug: soap_parser: xml was empty, didn't parse! soap_server: leaving parse_request() on 04:47 2004-05-13 soap_server: Enter send_response --> <!-- Content being deflated --> //------------------------------- with kind regards, Jan Horsman Scott Nichol wrote: Your modification is a great way to make this work for you, so there is no reason not to do it. As you have seen, once you have stripped out the form element name, you get text that is a valid SOAP payload. NuSOAP does not require a SOAPAction HTTP header, nor does it require that the Content-Type is text/xml (which, technically, it should do), so you are saved from having to finagle those. If the Content-Type contains a charset, it will use that as the character encoding, otherwise it assumes UTF-8 encoding. If you are sending non-ASCII characters, this might affect you. I will look at the ?debug=1 issue later. 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: "Chris Boget" <chris@xxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, May 12, 2004 12:42 PM Subject: Re: [Nusoap-general] Debugging |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | inclusion: 00069, Philippe BOUDIN |
|---|---|
| Next by Date: | Re: inclusion: 00069, Scott Nichol |
| Previous by Thread: | Re: Debuggingi: 00069, Scott Nichol |
| Next by Thread: | Re: Debugging: 00069, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |