Does anyone have any sample code on how this is done. I'm have written lots of 
Web Services in .NET but am a newbie to Web Services in Java. 
I have created a Web Service and deployed it to JRun. How do I go about 
configuring my web service so that it supports REST ? Any sample code for the 
client that uses this web service ? 

TIA
John



RESTful web services can exchange SOAP messages (enabling clear
separation of infrastructure information from application payload),
and therefore it's useful to have a SOAP engine that processes SOAP
headers. The Axis message processing pipeline is very useful for this
purpose.

Anne

On 6/17/05, Joerg Buchberger <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> The feature list in the Axis2 user guide says, that it supports
> RESTful webservices (ones with a "REpresentation State Transfer"
> architectural style).
> 
> How is REST supposed to be implemented using Axis2 - and what
> (dis-)advantages does it bring, compared to the more rudimentary
> approach described below?
> 
> AFAIK, one doesn't need any specific "webservice software/engine" to
> realize RESTful webservices. In Java, all you need is a WebApplication
> handling GET, POST, PUT, DELETE (etc.), the URL path as required by
> the service and XML-parser+XML-binding that helps you create and
> digest the XML messages in responses and requests. Perhaps also a more
> decent HTTP client API, if the regular Java API doesn't suffice.
> (Please correct me, if I'm wrong.)
> 
> --Joerg
> 

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================

Reply via email to