Monday, December 26, 2005 07:31 AM
Developing Java web service using Netbeans 4.1 with SOAP. The web service receives an XML document as request, parses it and saves it to the database.
If the XML document is passed as a Source object, we get the following error:
Attachment types are not supported in literal mode - Type: "javax.xml.transform.Source"
If it is passed as SOAPElement, we get the following error:
Type "javax.xml.soap.SOAPElement" implements more than one interface, interfaces: "javax.xml.soap.Node", "org.w3c.dom.Element" ...
If it is passed as String, how to parse it? Please help. Thanks.