I am creating a web service.
Some place illegal characters in our database.
Now, when I try to extract these lines and send them through a web service, the client suffocates.
I get an error, for example:
com.sun.xml.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.UnmarshalException
- with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 18))
How to remove this character in Java?
source
share