Hi,

I'm trying to make a program capable of sending a DOM Element (or Document)
to a SOAP server in order to manipule this Node ... the Call seems to work
but the response seems not to be correct ... here is the error message :
     Ouch, the call failed:
       Fault Code   = SOAP-ENV:Server
       Fault String = java.lang.IllegalArgumentException:
          No Serializer found to serialize a 'org.w3c.dom.Element' using
encoding style http://schemas.xmlsoap.org/soap/encoding/'.

Here is a part of my client program :
     params.addElement(new Parameter("addedDocument", Element.class,
requeteXML.getDocumentElement(), Constants.NS_URI_LITERAL_XML));
     call.setParams(params);
     Response resp;
     try
     {resp = call.invoke(url, "");}

Here is a simple program Server just to test it (it sends back the received
element ...) :
     public Element Traiter_Requete(Element ElementXML) throws IOException
           {
          return ElementXML;
           }

Can anybody help me with explaining how I can send any types of parameter
in a SOAP call and a SOAP Response ....  I manage to send primitive type as
String, file etc .... but I'd like to send others types of parameter ....
is it difficult ??

Thanks !!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to