Hello Thomas, how looks the string which you send ? Are there the <> symbols ? Then the original xml would fail to parse too. So it's not axis fault :-) What you can do is to XML-encode the string (XMLUtils.xmlEncodeString(value) does it for you) before you give to axis. Regards Oliver ____________________________________________________________________
Oliver Adler, Senior Consultant
SYRACOM Systems AG - "The IT-Architects"
Otto-von-Guericke-Ring 15
D-65205 Wiesbaden
Tel +49 6122-9176-0
Fax +49 6122-9176-11
Mobil +49 175-1853998
E-Mail: [EMAIL PROTECTED]
www.SYRACOM.de
Ein Unternehmen der SYRACOM Gruppe - "The Business- & IT-Architects"
____________________________________________________________________
-----Urspr�ngliche Nachricht-----
Von: Thomas Schr�ter [mailto:[EMAIL PROTECTED]
Gesendet: Di 25.02.2003 11.34 Uhr
An: [EMAIL PROTECTED]
Cc:
Betreff: 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
<<winmail.dat>>
