Returning strings containing XML/HTML from Web service call to SOAP::Lite 2005-02-13 - By Tim Wood
Back I have a Web services application implemented on the J2EE SDK 1.4. One of my methods returns a String[], to a Perl client based on SOAP::Lite. The returned strings contain HTML (or XML) elements. When the strings reach the Perl client , all the element delimiters ('<', '>', etc.) have been replaced by their XML entity codes, i.e. <, >. Thus I can't take the strings and build them into an HTML document template that renders properly.
It seems improper that my client is exposed to this transformation. Even though it may be necessary "under the covers" of SOAP, so that XML-relevant characters in data don't get mixed up with the SOAP ones, it seems the decoding should take place on the client side. Any ideas?
Thanks, TW
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|