You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Dick Brooks <di...@8760.com> on 2001/04/08 00:21:00 UTC

Client parsing error

Does anyone know why I would receive a SOAP Fault indicating a client
parsing error from the following:

POST /soap/servlet/rpcrouter HTTP/1.1
SOAPAction: ""
Content-Type: text/xml; charset=UTF-8
Referer: file://C:\SOAP\Examples\client\javascript\stockquote.html
Content-Length: 507
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
Host: gamma:9090
Connection: Keep-Alive

<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/1999/XMLSchema'> <SOAP-ENV:Body><ns1:getQuote
xmlns:ns1='urn:xmltoday-delayed-quotes'SOAP-ENV:encodingStyle='http://schema
s.xmlsoap.org/soap/encoding/'><symbol xsi:type='xsd:string'>IBM
</symbol></ns1:getQuote> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

I'm using tomcat 3.2.1, Apache-SOAP 2.1 and Xerces 1.2.3 running on Windows
98.


Thanks in advance.

Dick Brooks
Group 8760
110 12th Street North
Birmingham, AL 35203
dick@8760.com
205-250-8053
Fax: 205-250-8057
http://www.8760.com/

InsideAgent - Empowering e-commerce solutions



RE: Client parsing error

Posted by Dick Brooks <di...@8760.com>.
Thanks Alek, that was the problem.

I created the request using my own SOAP JavaScript functions, which I'm
using to demonstrate
the Apache-SOAP samples from a browser (IE 5). I'm showing this
functionality at the XML DevCon show
in NY this week. So far I have the stockquote example running fine and plan
to work on the others
as time permits.

Thanks,

Dick Brooks
Group 8760
110 12th Street North
Birmingham, AL 35203
dick@8760.com
205-250-8053
Fax: 205-250-8057
http://www.8760.com/

InsideAgent - Empowering e-commerce solutions

> -----Original Message-----
> From: Aleksander Slominski [mailto:aslom@cs.indiana.edu]
> Sent: Saturday, April 07, 2001 8:21 PM
> To: soap-dev@xml.apache.org
> Subject: Re: Client parsing error
>
>
> hi,
>
> you did not provide error message but i can make a guess that
> there is missing
> space before SOAP-ENV:encodingStyle attribute name in:
>
> xmlns:ns1='urn:xmltoday-delayed-quotes'SOAP-ENV:encodingStyle='htt
> p://schema
>
> have you created this SOAP request by hand?
>
> best,
>
> alek
>
> Dick Brooks wrote:
>
> > Does anyone know why I would receive a SOAP Fault indicating a client
> > parsing error from the following:
> >
> > POST /soap/servlet/rpcrouter HTTP/1.1
> > SOAPAction: ""
> > Content-Type: text/xml; charset=UTF-8
> > Referer: file://C:\SOAP\Examples\client\javascript\stockquote.html
> > Content-Length: 507
> > User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
> > Host: gamma:9090
> > Connection: Keep-Alive
> >
> > <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
> > xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
> > xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
> > xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
> > xmlns:xsd='http://www.w3.org/1999/XMLSchema'>
> <SOAP-ENV:Body><ns1:getQuote
> >
> xmlns:ns1='urn:xmltoday-delayed-quotes'SOAP-ENV:encodingStyle='htt
> p://schema
> > s.xmlsoap.org/soap/encoding/'><symbol xsi:type='xsd:string'>IBM
> > </symbol></ns1:getQuote> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
> >
> > I'm using tomcat 3.2.1, Apache-SOAP 2.1 and Xerces 1.2.3
> running on Windows
> > 98.
>
> --
> Aleksander Slominski, LH 316, IU, http://www.extreme.indiana.edu/~aslom
> As I look afar I see neither cherry Nor tinted leaves Just a modest hut
> on the coast In the dusk of Autumn nightfall - Fujiwara no
> Teika(1162-1241)
>


Re: Client parsing error

Posted by Aleksander Slominski <as...@cs.indiana.edu>.
hi,

you did not provide error message but i can make a guess that there is missing
space before SOAP-ENV:encodingStyle attribute name in:

xmlns:ns1='urn:xmltoday-delayed-quotes'SOAP-ENV:encodingStyle='http://schema

have you created this SOAP request by hand?

best,

alek

Dick Brooks wrote:

> Does anyone know why I would receive a SOAP Fault indicating a client
> parsing error from the following:
>
> POST /soap/servlet/rpcrouter HTTP/1.1
> SOAPAction: ""
> Content-Type: text/xml; charset=UTF-8
> Referer: file://C:\SOAP\Examples\client\javascript\stockquote.html
> Content-Length: 507
> User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
> Host: gamma:9090
> Connection: Keep-Alive
>
> <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
> xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
> xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
> xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
> xmlns:xsd='http://www.w3.org/1999/XMLSchema'> <SOAP-ENV:Body><ns1:getQuote
> xmlns:ns1='urn:xmltoday-delayed-quotes'SOAP-ENV:encodingStyle='http://schema
> s.xmlsoap.org/soap/encoding/'><symbol xsi:type='xsd:string'>IBM
> </symbol></ns1:getQuote> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
>
> I'm using tomcat 3.2.1, Apache-SOAP 2.1 and Xerces 1.2.3 running on Windows
> 98.

--
Aleksander Slominski, LH 316, IU, http://www.extreme.indiana.edu/~aslom
As I look afar I see neither cherry Nor tinted leaves Just a modest hut
on the coast In the dusk of Autumn nightfall - Fujiwara no Teika(1162-1241)