my input document is already escaped. But Axis convert it automatically to: <?xml version="1.0" encoding="UTF-8"?> <xyz> ��� � <> </xyz> And if I try now to processing this result with a xml-parser a exception is thrown because < > is directly represented in XML. Regards, Thomas > Hi, > > It's doing exactly what it should do. > > You cannot represent the characters < and > directly in XML, > you must escape them. So your input document SHOULD be: > > <?xml version="1.0" encoding="UTF-8"?> > <xyz> > ��� � <> > </xyz> > > In which case, your SOAP message would look like this: > > <ns4:callResponse> > <result xsi:type="xsd:string"> > > <?xml version="1.0" encoding="UTF-8"?> > <xyz> > ö� (B -b?�? �? &lt;&gt; > </xyz> > > When the SOAP message is decoded, you will have a string which > looks like the the first bit I quoted above (i.e. a serialised > representation of an XML document). If you pass this string to > an XML parser, you will get an "xyz" element which has a child > text node containing the characters "��� � <>" > > This is really an XML question, not a SOAP/AXIS question. > > Rgds, > > Dan. > > -----Original Message----- > From: Thomas Schr�ter [mailto:[EMAIL PROTECTED] > Sent: 25 February 2003 10:35 > To: [EMAIL PROTECTED] > Subject: encoding > > > Hello, > > I receive SOAP messages over the Axis Client which contained again XML > data > as > parameter with umlauts and special characters (UTF8 encoded): > > ... > ... > <ns4:callResponse> > <result xsi:type="xsd:string"> > > > <?xml version="1.0" encoding="UTF-8"?> > <xyz> > ö� (B -b?�? �? <> > </xyz> > > > </result> > </ns4:callResponse> > ... > ... > > Axis converts the result to: > > <?xml version="1.0" encoding="UTF-8"?> > <xyz> > ��� � <> > </xyz> > > Now I'd like to parse the result but a SAXParseException is thrown, > because > <> is not a valid Markup. > > Can someone support me in this case ? > > Regards, > Thomas > > > > > > > > *************************************************************************** > This communication (including any attachments) contains confidential > inform > ation. If you are not the intended recipient and you have received this > co > mmunication in error, you should destroy it without copying, disclosing or
> otherwise using its contents. Please notify the sender immediately of the > error. > > Internet communications are not necessarily secure and may be intercepted > o > r changed after they are sent. Abbey National Treasury Services plc does > n > ot accept liability for any loss you may suffer as a result of > interception > or any liability for such changes. If you wish to confirm the origin or > c > ontent of this communication, please contact the sender by using an > alterna > tive means of communication. > > This communication does not create or modify any contract and, unless > other > wise stated, is not intended to be contractually binding. > > Abbey National Treasury Services plc. Registered Office: Abbey National > Ho > use, 2 Triton Square, Regents Place, London NW1 3AN. Registered in > England > under Company Registration Number: 2338548. Regulated by the Financial > Se > rvices Authority (FSA). > *************************************************************************** >
