Hi, In my application i am using swings,webservices and my task is to generate a report.... and the business unit side I've don all the code and getting appropriate result in ByteOutputStream object which first i convert into byte array and then string (because i am using a common method which returns string only).. The code for is shown below..
The code is running fine and report is get printed successfully ...
but when I run this method from UI side ....it is throwing error below...
com.sun.xml.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.UnmarshalException
- with linked exception:
[com.sun.xml.stream.XMLStreamException2: ParseError at [row,col]:[5,9]
Message: An invalid XML character (Unicode: 0x14) was found in the element content of the document.]
I have done lot of things like try to change it with different codes UTF -8,16 and.... ISO 8859_1
But it won't work for it....does it required to change in other format ... or it need any jar files to support it..