[ 
https://issues.apache.org/jira/browse/AXIS2-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484301
 ] 

Keith Godwin Chapman commented on AXIS2-2399:
---------------------------------------------

How can we achieve this with the messagebuilders concept? We map a particullar 
message builder based on the contentType. The problem is that POX  services use 
text/xml as with SOAP 1.1. Axis2 client cannot assume (as it can be incorrect 
to do so) that a SOAP 1.1 message will have a SOAP action always. So how can we 
tackle this problem?

I tried writing a REST client for flickr and it did return text/xml all the 
time. I tackled this problem by mapping text/xml to ApplicationXMLBuilder in my 
client axis2.xml.

Thanks,
Keith

> Supporting plain old XML messages coming with a content type of text/xml
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-2399
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2399
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>         Assigned To: Keith Godwin Chapman
>            Priority: Critical
>
> IIRC Axis2 used to support incoming POX messages with the content type 
> text/xml.. Axis2 diffrentiated between POX and SOAP 1.1 based on the presence 
> of SOAPAction header...
> I think this is a nice feature to have back, specially most of the POX 
> services available today sends you responses using text/xml... 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to