We have a web app where a user can enter some description. Right now, they are copying the description from a word document and pasting it to the web page. As a result, some special characters are getting inserted. When we try to read the data through a web service call we are getting SoapFaultException. The character that caused it is . Is there any way to escape this character so that the web service call does not fail. We are using EJB's which are converted to web service methods using weblogic servicegen (Ant) task.
You may be encountering those accursed "smart" quotes and "smart" apostrophes that MS word uses. They are illegal characters in XML. If that is true, your users can change the defaults in Word to not use the damn things. (You can probably tell I have been bit by this several times.) Bill
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
Devious Experiments for a Truly Passive Greenhouse!