This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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?
 
Similar Threads
beanmapping tag
AXIS Web Service Configuration for WebSphere 4.0 and WebSphere 5.0
Web service Client with Axis2
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: javax/xml/namespace/QName ?
Server Side AXIS-Web Service Unknown Exception