REST works on the assumption that your applications are working
directly with the XML and not attempting to map Java objects to XML.
If your assignment is to provide the same service in REST, then you
should in fact recreate all the functionality, but this time using DOM
in your application rather than mapping everything to objects.

Anne

On 6/22/05, Richard Wallis <[EMAIL PROTECTED]> wrote:
> Following the 'Start with the WSDL!' principle of web service
> development, I have produced a successful service which works in both
> Axis & .net, greatly helped by the classes produced by wsdl2java.
> 
> So far so good.  Now I have a requirement to provide the same service
> via REST.  Being lazy I don't want to recreate all the functionality so
> intend to directly call the service method in the auto-generated
> xxSoapBindingImpl class.  I can easily create the correct Object to pass
> as a parameter.
> 
> The problem I next have is to be able to create a response XML Document
> from the Object returned from the method.  Axis must do this when it is
> creating the response SOAP Body.
> 
> Does anyone know how I can easily access this functionality.
> 
> Richard.
> 
> 
> Register your interest now
> Insight 2005 : 15th & 16th November
> Register your interest now http://www.talis.com/events
> 
> 
> 
> Any views or personal opinions expressed within this email may not be those 
> of Talis Information Ltd. The content of this email message and any files 
> that may be attached are confidential, and for the usage of the intended 
> recipient only. If you are not the intended recipient, then please return 
> this message to the sender and delete it. Any use of this e-mail by an 
> unauthorised recipient is prohibited.
>

Reply via email to