Hi Ivano,

Which version of Restlet 2.0 are you using? In Restlet 2.0.9, we fixed an IO
flushing issue that could solve your issue:
http://www.restlet.org/documentation/2.0/jse/changes

Best regards,
Jerome
--
http://www.restlet.org
http://twitter.com/#!/jlouvel




-----Message d'origine-----
De : Ivano Carrara [mailto:[email protected]] 
Envoyé : lundi 12 septembre 2011 23:17
À : [email protected]
Objet : Invalid chunk size specified. End of stream reached

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/parm
1/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=28376
23

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

Reply via email to