aspose file tools*
The moose likes Web Services and the fly likes axis2-deployed service receives messages wrapped in <extraElement> tag?  axiom? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis2-deployed service receives messages wrapped in <extraElement> tag?  axiom?" Watch "axis2-deployed service receives messages wrapped in <extraElement> tag?  axiom?" New topic
Author

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

Chris Riffle
Greenhorn

Joined: Dec 30, 2005
Posts: 18
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?
Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: axis2-deployed service receives messages wrapped in <extraElement> tag? axiom?