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
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
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
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
axis-user@ws.apache.orgcc
06/27/2006 01:17 PMSubject Re: [Axis2] rest question Please respond to
[EMAIL P
PM
Subject
Re: [Axis2] rest question
Please respond to
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
Subject
Re: [Axis2] rest question
Please respond to
[EMAIL PROTECTED]
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
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
10 matches
Mail list logo