axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saminda Abeyruwan" <samin...@gmail.com>
Subject Re: text/xml to application/xml
Date Mon, 25 Jun 2007 05:26:13 GMT
Do raise  a JIRA

Saminda

On 6/24/07, shale <ascotthale@hotmail.com> wrote:
>
>
> I've written an axis service that a client is sending a content-type of
> text/xml to with his SOAP envelope.  The Axis engine is changing the
> content-type to application/xml when it encounters text/xml.  There are
> different message Builders defined for the two content-types.
> application/xml uses ApplicationXMLBuilder (by default), while text/xml
> uses
> SOAPBuilder.  SOAPBuilder seems to parse the request just fine, but
> ApplicationXMLBuilder is adding an extra soapenv:Body tag which causes the
> parsing process to fail.  Unfortuneately, even if I change the default
> builder for application/xml via th axis2.xml configuration file, the
> AxisConfigutator is overriding some of the content-type to builder
> mappings
> to specific builders (application/xml being one of them), so I'm right
> back
> to a Builder that doesn't work.
>
> Any suggestions?
>
> --
> View this message in context:
> http://www.nabble.com/text-xml-to-application-xml-tf3970315.html#a11269637
> Sent from the Axis - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org

Mime
View raw message