Hi Terry,
I haven't tried with extensions enabled. Perhaps I don't need to make the
content length optional as the server is sending a correct Content-Length and
the same request works ok with a PHP client.
Terry Howe <[EMAIL PROTECTED]> wrote:
Did you try with extensions enabled and content length optional?
On Thu, 2006-09-07 at 05:16 -0700, Michael Douglas wrote:
> Hello,
>
> Can somebody please suggest me a solution for this problem?
>
> Thanks!
>
> Michael Douglas wrote:
> Hello,
>
> When the server sends huge amount of data (Content-Lnegth > 4000+ ), my
> client application starts to throw 'weird' kinds of error messages. I have
> executed the same requests using some PHP client and it seems to work ok.
>
> Some exceptions:
> --------------------------
> org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers
> response: The element type "methodResponse" must be terminated by the
> matching end-tag "".
> at
> org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:177)
> at
> org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:145)
> Caused by:
> org.xml.sax.SAXParseException: The element type "methodResponse" must be
> terminated by the matching end-tag "".
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>
> --------------------------
> org.xml.sax.SAXParseException: XML document structures must start and end
> within the same entity.
> --------------------------
>
> One thing I have noticed is that my XML-RPC client sends request using
> 'HTTP/1.1" while the server responds in "HTTP/1.0". Does it have anything to
> do with the above error messages?
>
> Should I change some configuration so that my client also sends request using
> "HTTP/1.0"? and How can I do that?
>
> Did somebody had the same kind of problem before?
>
> Any other suggestions would be highly appreciated!
>
> Thanks!
>
>
> ---------------------------------
> Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small
> Business.
>
>
> ---------------------------------
> Get your email and more, right on the new Yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.