Hi Jerome,

Thanks for the info and code samples. I have a few questions, though:

How is automatic conversion performed? For example, suppose the Customer 
resource returned an XML representation on a GET. Where is the conversion from 
Customer to XML and from XML to Customer defined?

Suppose the REST service did not use Restlet to implement its web service. 
Would I be able to define some custom contract and still use this automatic 
conversion, even though the server does not formally use that custom annotated 
interface?

What if an HTTP 4xx or 5xx is returned during one of these operations? Is an 
Exception thrown, or would null be returned in place of a Customer object?

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

Reply via email to