Hi Mike, The INFO message that you get is normal from my point of view. DOM representations have an unknown size at the time of writing on the server side (which is fine).
On the client side, you must just be careful to fully read the response entity, or to release it explicitly (see release() method in Restlet 1.1 only). Do you correctly get the XML entity on the client-side? If the INFO message is bothering you, you should specify a logging configuration to increase the level for Console messages (WARNING and above). Best regards, Jerome -----Message d'origine----- De : news [mailto:[EMAIL PROTECTED] De la part de Mike Dunn Envoyé : jeudi 8 mai 2008 20:04 À : [email protected] Objet : XmlBeans to DomRepresentation I am trying to convert an XmlBean XmlObject to a DomRepresentation and can't seem to make it work. The following is the snippet of code. (the owner document is not null) Node document = xmlObject.getDomNode(); DomRepresentation representation = new DomRepresentation(MediaType.TEXT_XML, document.getFirstChild().getOwnerDocument()); If I monitor the server side (HTTP response) I see the Xml I am looking for, but on the client side I am getting the following message (and no xml): INFO: The length of the message body is unknown. The entity must be handled carefully, and may be consumed entirely in order to surely release the connection. Thanks, Mike

