Good Evening!

I need to have two prologs in my SOAP message.  The SOAP message that I have
starts with a prolog and then the paramater that I am adding has a prolog
(because it is an XML document.)

If I leave both prologs in the message I get the exception "The processing
instruction target matching "[xX][mM][lL]" is not allowed."

If I remove the second prolog I do not receive the error.

If I delete the second prolog and then setNamespaceAware to true the second
prolog is being generated automatically for me but, but it also adds ns1 to
everything.  Is there a way to have it write the second prolog like it is
doing and then not add the name spaces?

Thanks,
Doug

Reply via email to