I do have the code that Axis created for PoDocument. That is how I got the set_any method that accepts the array of MessageElement. My issue is that I have looked at the MessageElement API and I am unsure what I need to use. I need to be able to pass to the web service my xml document that is being "embeded" into the SOAP information. I relize that AXIS created the code that does the SOAP. I don't know what I need to do to take the xml doc that I have and pass that as an value to the web service.
I have included the error message that I am getting when I pass a null. However, I am unsure if it is because I am passing a null.
- Mapping Exception to AxisFault
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXNotRecognizedException: Feature:
http://xml.org/sax/properties/lexical-handler faultActor: null
faultNode: null
faultDetail:
stackTrace: org.xml.sax.SAXNotRecognizedException: Feature:
http://xml.org/sax/properties/lexical-handler at org.apache.xerces.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:155)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:235)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:541)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:379)
at org.apache.axis.client.Call.invokeEngine(Call.java:2395)
at org.apache.axis.client.Call.invoke(Call.java:2365)
at org.apache.axis.client.Call.invoke(Call.java:2062)
at org.apache.axis.client.Call.invoke(Call.java:1986)
at org.apache.axis.client.Call.invoke(Call.java:1509)
at nautilus.upload.DWImportSoapStub.submit(DWImportSoapStub.java:156)
at nautilus.upload.SubmitTest.main(SubmitTest.java:13)
org.xml.sax.SAXNotRecognizedException: Feature:
http://xml.org/sax/properties/lexical-handler org.xml.sax.SAXNotRecognizedException: Feature:
http://xml.org/sax/properties/lexical-handler at org.apache.xerces.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:155)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:235)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:541)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:379)
at org.apache.axis.client.Call.invokeEngine(Call.java:2395)
at org.apache.axis.client.Call.invoke(Call.java:2365)
at org.apache.axis.client.Call.invoke(Call.java:2062)
at org.apache.axis.client.Call.invoke(Call.java:1986)
at org.apache.axis.client.Call.invoke(Call.java:1509)
at nautilus.upload.DWImportSoapStub.submit(DWImportSoapStub.java:156)
at nautilus.upload.SubmitTest.main(SubmitTest.java:13)
Am I clear on what I have stated?
[ February 12, 2003: Message edited by: Tena Shupe ]