• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

DeserializationException occurs in printing report

 
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..

Thanks in advance ..

Kaustubh
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
waiting for the response
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!