| || |
Invalid XML character in web service answer of
We have to look up contacts in the global address list of a Microsoft Exchange server.
The current solution uses the web services that have been introduced in version 2007 of MS Exchange.
Unfortunately some records returned by the MS Server cause a javax.xml.stream.XMLStreamException. The Exception
tells us that a parser error occurred. The Exception says:
Message: Character reference "&#x7" is an invalid XML character.
The Java classes used for accessing the Exchange web services are generated using the jaxws plugin and the application
is running on the Glassfish application server v2 ur1.
The only solution we can think of right now is to access the XML stream returned by the Exchange server before it is handed over
to the parser in order to replace the invalid characters.
Can anyone point me to some documentation or give me an example of how to intercept the XML parsing process used by the jaxws
Any other ideas for a solution are of course also appreciated.
Thanks for your help in advance,
Re: Invalid XML character in web service answer of
Did you see this
Basically I am not sure why are you guys are using Glassfish?Personally I have come across many bugs using it with netbeans and you will find many such horror stories in Netbeans usenet group.I would not recommend using opensource Glassfish in production.