Re: [axis2] rest question

2007-08-10 Thread keith chapman
This is not the case now. text/xml contentType is used for SOAP 1.1 request, the way we figure out whether a request is REST is based on the contentType. Obviously If the HTTPMethod is PUT, GET or DELETE then this is treated as REST automatically. From 1.2 onwards we hace the notion of messageBuild

[axis2] rest question

2007-08-10 Thread Mark Thompson
The axis2/1_2/rest.ws.html documentation indicates that if the content type is text/xml and the SOAPAction Header is missing that the message is treated as a restful message. If that is the case should the AxisServlet code be changed to check if the request.getHeader(HTTPConstants.HEADER_SOAP_ACTI

Re: [Axis2] rest question

2006-06-30 Thread Anne Thomas Manes
   Subject   Re: [Axis2] rest question Please respond to [EMAIL PROTECTED]   he.orgWhen using a RESTful service, *POST* is your method. You have only one function associated with POST to a specifi

Re: [Axis2] rest question

2006-06-29 Thread Anne Thomas Manes
 cc 06/27/2006 01:17 PMSubject       Re: [Axis2] rest question Please respond to [EMAIL PROTECTED]   he.orgWhen using a RESTful service, *POST* is your method. You have only one function associated wi

Re: [Axis2] rest question

2006-06-27 Thread Anne Thomas Manes
  axis-user@ws.apache.orgcc 06/27/2006 01:17 PMSubject           Re: [Axis2] rest question Please respond to [EMAIL P

Re: [Axis2] rest question

2006-06-27 Thread Anamitra . Bhattacharyya
PM Subject Re: [Axis2] rest question Please respond to

Re: [Axis2] rest question

2006-06-27 Thread Martin Gainty
t: Tuesday, June 27, 2006 1:43 PM Subject: Re: [Axis2] rest question > Hi Anne > I am sorry - I probably didnt get the answer. > I have a service class that has 2 methods - > > public OMElement dothis(OMElement om1) > public OMElement dothat(OMElement om2) > > Now for this

Re: [Axis2] rest question

2006-06-27 Thread Anamitra . Bhattacharyya
Subject Re: [Axis2] rest question Please respond to [EMAIL PROTECTED]

Re: [Axis2] rest question

2006-06-27 Thread Anne Thomas Manes
When using a RESTful service, *POST* is your method. You have only one function associated with POST to a specific URL. If you have a service that exposes methods other than GET, POST, PUT, or DELETE, then it isn't RESTful. AnneOn 6/27/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:HiAs per the a

[Axis2] rest question

2006-06-27 Thread Anamitra . Bhattacharyya
Hi As per the axis2 doc it seems that if I want to do a POST rest service - the only way axis runtime would detect which method to delegate the call to is from the name of the top level element in the http message body XML - right? I have a service whose method definition is like public OMElement