File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Truncation of Data

 
Mehul Sanghvi
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic