If I understand you correctly, you're putting data marked up as XML in a string and then sending that string as an XML element in a SOAP message. In this usage, Axis has to turn the angle brackets into entity references in order to make the XML well-formed; you're not allowed to have literal angle brackets in the value of an XML element.
If you desparately need to send your XML structure as the value of some XML element, then you can wrap it in a CDATA section so that Axis need not mess with the angle brackets. However, why not just send the XML as the body of the message (normal document/literal style)? On Tue, 30 Aug 2005, Plorks mail wrote: > > it's not - when the client receives the xml it has &alt instead of < or > > > Also when i test my service get the same characters in the soap message > > Thanks > > > > >From: WAJSBERG Julien RD-BIZZ <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: Re: xml with strange characters > >Date: Tue, 30 Aug 2005 14:30:59 +0200 > > > >Plorks mail a ?crit : > > > > > > > > hi all > > > > > > i'm retruning a xml string when a method is called. > > > > > > When i look at the soap returned xml is formatted with < charactes > > > instead of < or > > > > > > > e.g. > > > > > > <ROOT> > > > ............ > > > </ROOT> > > > > > > can anyone help me to solve this > > > > >Why is it a problem ? > >Axis should deserialize this message correctly on the client side... > > > > _________________________________________________________________ > Want to block unwanted pop-ups? Download the free MSN Toolbar now! > http://toolbar.msn.co.uk/ > Guy Rixon [EMAIL PROTECTED] Institute of Astronomy Tel: +44-1223-337542 Madingley Road, Cambridge, UK, CB3 0HA Fax: +44-1223-337523
