HI,
I have a doc/lit service that needs to take arbitrary XML document as one
of its parameters. I have declared the parameter as xsd:string and I try to
invoke the service by passing a string of valid XML. I get the following
exception:
Exception in thread "main" java.lang.NullPointerException
at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeCharacters(
MTOMXMLStreamWriter.java:194)
at com.ibm.sobe.xsd.InvokeDescriptor$1.serialize(
InvokeDescriptor.java:202)
at
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerializeAndConsume(
OMSourcedElementImpl.java:522)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.serialize(
OMSourcedElementImpl.java:529)
at com.ibm.sobe.xsd.InvokeServiceParam$1.serialize(
InvokeServiceParam.java:102)
....
I am on 8/29 nightly. I can invoke other services without any problems. The
XML I pass is pretty simple, no non-ASCII characters. What is the right way
of doing this? Is passing XML as a string a good solution?
Thanks,
-Nirmit
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]