axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <pzf...@gmail.com>
Subject Re: xml over xml
Date Wed, 27 Feb 2008 10:31:09 GMT
Mathieu

You have three options.

1) make it xsd:any instead of text, so that it is really XML all the way
2) encase the XML in <![CDATA[  your xml here ]]>
3) escape all the XML characters

Fundamentally whatever your service provider is doing it should do one of these.

Paul

On Wed, Feb 27, 2008 at 9:36 AM, mathieu fabre <mathieufab@gmail.com> wrote:
> Hi,
>
> I use an axisServlet for my webapp with my own transport. I create
> TransportListener
> and TransportSender. When a message is receive by transportListener, i send
> the SOAP message
> to axis in order to call the good method.
>
> When Axis finish it's work, it call the TransportSender to send the
> response. But in the response,
> some elements which are TEXT element contain XML.
>
> in example :
>
> part of response
>
> <MethodeResponse ns="X">
>      <arg0 ns="">
>          value
>     </arg0>
> </MethodeResponse>
>
> If value which is a TEXT contain XML nodes, what can i do to block the
> processing of these XML nodes ( done by the requester when it receive
> response - ie RPCClient ) ?
>
> Thanks,
>
> Mat
>
>
>



-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message