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 "</methodResponse>".
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 "</methodResponse>".
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.