Hi All,

        I found out that there are no serializers written to serialize
org.w3c.dom.Document it is only written for the type org.w3c.dom.Element. If
i wish to send the Document handle of a XML document from server to client
how do i do it? Secondly i had written a method where it takes a String as a
parameter which is the filename and returns me the root element of the XML
document. I had set the encoding style earlier to NS_URI_SOAP_ENC then it
was giving me the following error
Generated fault:
  Fault Code   = SOAP-ENV:Server
  Fault String = java.lang.IllegalArgumentException: No mapping found for
'org.w3c.dom.Element' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.
Now i changed the encoding to NS_URI_LITERAL_XML it was giving me the
following error that "I know only know to serialize org.w3c.dom.Element".
Then i removed the parameter from the function call and hardcoded it works
fine. Can anyone tell how can i get things even if i pass the String as
argument and also how to get a Document Handle to the client side. I need it
urgently. Any suggestions would be of great help. Thanks in advance. 

With Regards
Sajit

Reply via email to