I am trying to access a method on the server which takes a string as a
parameter and returns an Element (org.w3c.dom.Element).
On my client side I set the encoding style as:
call.setEncodingStyleURI( Constants.NS_URI_LITERAL_XML);
and I get the following error:
SOAPException= SOAP-ENV:Client, I only know how to serialize an
'org.w3c.dom.Element'.
and if I set the encoding style as NS_URI_SOAP_ENC
then I get this error.
Fault= SOAP-ENV:Server, java.lang.IllegalArgumentException: No Serializer
found
to serialize a 'org.w3c.dom.Element' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.
How can I make a client which serializes both an xml literal and a string ??