You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Senthil A <se...@patni.com> on 2005/04/13 14:04:11 UTC

WRITE_XML_DECLARATION property issue

Hi,

I'm using Axis 1.2 for a WebServices project.
My requirement is to include XML Declaration in the request and response message.

But when I set WRITE_XML_DECLARATION property as,

soapmessage.setProperty(SOAPMessage.WRITE_XML_DECLARATION, "true");

And use, soapconnection.call (soapmessage, urlendpoint) > it results in SAXParseException.

Can anyone guide me, how to set WRITE_XML_DECLARATION  property in the request message ?
Has anyone tried the above code ? Please reply.

Thanks in advance,

Senthil A
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________