Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Axis SOAPElement.addChildElement inserts it's own prefix
posted 11 years ago
I am trying to create a SOAPEnvelope using Axis. For the particular message that I need to send The tags in my body do not need prefixes. So, I am using the following:
SOAPEnvelope env = new SOAPEnvelope(); SOAPHeader hdr = env.getHeader(); SOAPBody body = env.getBody(); SOAPElement myElement = body.addChildElement("MyTag");
However, the xml that is created is as follows:
<soapenv:Notify> ... </soapenv:Notify>
I don't want the prefix soapenv. I simply want the tag to be as follows:
<Notify> ... </Notify>
Has anyone seen this and if so do you have a suggestion?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
Need the JSP equivalent
SOAP Header problem SAAJ
How to get a connection from the connection pool in a servlet
Problem in building SOAP with XML