File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Truncation of Data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Truncation of Data" Watch "Truncation of Data" New topic
Author

Truncation of Data

Mehul Sanghvi
Ranch Hand

Joined: Feb 04, 2002
Posts: 134
Hi,
I have hosted a webservice on Sunone appserver. When printed, the reply SOAP message shows proper values on the server where the service is hosted. But the same message when parsed and shown by the client on an html page :
a)At random one record display is truncated.
b)Any record having "&" as a part of data is truncated after occurance of "&".
Can anyone please tell me where the problem is and also suggest a solution.
Thanks and Regards,
Mehul.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
How do you know that the response looks ok? With a tcpsniffer of some sort?
Are you sure your client-side code doesn't mangle the response? Could you post some snippets of the SOAP envelope on the server and the SOAP envelope on the client?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Truncation of Data
 
Similar Threads
what does this mean
Truncated posts
Field length catch - FBN
Bug with Data.java - Urgent
Split multi-page tiff throwing: End of data reached before next EOL