If it is something very urgent, the easiest way is to base 64 encode the
XML and pass the encoded string which is guaranteed to have no special
characters.
 
For example (server-side): 

         
        import org.apache.xerces.impl.dv.util.Base64;
         
        ...
         //send this string
         String encodedXML = Base64.encode(rawXMLString);
        ...

 
Otherwise you can use attachments, but that is not an "urgent" scenario
solution. 
 
Thanks, 
 
Nadeem
 
________________________________

From: M.Khaled [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 21, 2007 1:41 PM
To: axis-user@ws.apache.org
Subject: Urgent 


Hi,
 
I sent a question to the mailing list and got no answer till now.Could
anyone help me?
My question was about how to send xml as a string by axis client
avoiding special character problem.
 
Thanks,
Mohamed.

________________________________

Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try
it now.
<http://us.rd.yahoo.com/evt=51731/*http://mobile.yahoo.com/sports;_ylt=A
t9_qDKvtAbMuh1G1SQtBI7ntAcJ> 

Reply via email to