Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis SOAPElement.addChildElement inserts it's own prefix  RSS feed

 
Frank Malinowski
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:



However, the xml that is created is as follows:



I don't want the prefix soapenv. I simply want the tag to be as follows:


Has anyone seen this and if so do you have a suggestion?

Thanks, Frank
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!