Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

axis2-deployed service receives messages wrapped in <extraElement> tag? axiom?

Chris Riffle
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've implemented a service and deployed it to axis2.

When I receive the message with an XMLStreamReader and then write it to a file with an XMLStreamWriter, the entire message is wrapped with an <extraElement> tag.

Any ideas on what is causing this?

I get the incoming message with an XmlStreamReader like this:

XMLStreamReader xmlStreamReader = notify.getPullParser(new QName(
"namespace", "prefix"));

I have different values in the QName parameters for the namespace, but I'm still learning about qnames so I need to learn the significance of what I should specify in the qname when getting the pullParser -- if it's supposed to correspond to a root namespace in my expected incoming message?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic