wood burning stoves 2.0
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Truncation of Data" Watch "Truncation of Data" New topic

Truncation of Data

Mehul Sanghvi
Ranch Hand

Joined: Feb 04, 2002
Posts: 134
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,
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
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
It's not a secret anymore!