Hi all,

Using Restlet 2.0 I use the below URL to get a XML response from a REST service:

http://somehost.com:9763/services/Customers.HTTPEndpoint/getSomeService/parm1/parm2

I use the below syntax and I get the aspected XML response:

Representation rep = resource.get();
DomRepresentation content = new DomRepresentation(rep);

BUT at the same time I get the below error: 

java.io.IOException: Invalid chunk size specified. End of stream reached

Please, anyone can help me to understand what is the problem?

Thank you in advance!

Ivano

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2837623

Reply via email to