You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Anthony Dodd <An...@synergy-fs.com> on 2001/07/05 13:00:58 UTC
Mixing SOAP and LITERAL XML encoding styles
Hi
Using the sample code in the FAQ. I wrote a method which accepts a
java.util.Hashtable as a parameter and returns a DOM element. See attached
code snippet. When I try to call this method, I get the following error "No
Serializer found to serialize a 'java.lang.String' using encoding style
'http://xml.apache.org/xml-soap/literalxml'.". it appears that SOAP is
trying to use the encoding style set for the call as opposed to the encoding
style set for the parameter to serialize the Hashtable. Is this the way its
supposed to work, if so is there a way I can get around this problem.
Regards
Anthony Dodd
<<sample code.txt>>