A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Axis SOAPElement.addChildElement inserts it's own prefix
Joined: Jul 24, 2003
Oct 17, 2005 15:14:00
I am trying to create a
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?
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Axis SOAPElement.addChildElement inserts it's own prefix
Problem in building SOAP with XML
SOAP Header problem SAAJ
How to get a connection from the connection pool in a servlet
Need the JSP equivalent
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013