Thanks for your answer,

i think about the solution 2, but i don't know if messageFormatter can do
this for me...?

When i start the client, it send a request : getApplicationConfiguration("my
application")

So the message soap is

<Enveloppe ...>
    <header..>...</header>
    <Body ...>
        <getApplicationConfugiration...>
            <arg0>my application</arg0>
        </getApplicationConfiguration>
    </Body>
</Enveloppe>

When my server receive the message, it try to find the method to call
the result of the method is the content of the configuration file of my
application.
And this content contain XML node (the file could be the axis2.xml in
example).

So, before sending the response, the TransportSender format the message with
MessagFormatter ( TransportUtils.getMessageFormatter(msgContext); ) .
And i would like to configure it to disable specials XML characters in
response.

Before using my own transport, i used http and it worked well, i don't
understand why it don' work anymore... :(

Mat


2008/2/27, Paul Fremantle <[EMAIL PROTECTED]>:
>
> 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 <[EMAIL PROTECTED]>
> 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
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to