Here is what I implemented.

This applies to
 - when REST is enabled in AxisServlet
 - and when a message comes through POST.

First check whether it has the content types text/xml or
application/x-www-form-urlencoded. If yes its a REST request else its a
SOAP.
Well, you might ask what about other content types for REST? What abt
MTOM with REST. They are not yet implemented, once its done, especially
MTOM, lets improve the logic.

See my comment in AXIS2-1023.

-- Chinthaka

Eran Chinthaka wrote:
> Davanum Srinivas wrote:
>> Eran,
>>
>> Let's code it up to look for the 2 media types and document that in
>> bold blinking letters :)
> 
> Hehe, Already done something like that. Will send a note with the commit
> and to the JIRA.
> 
> -- Chinthaka
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to