• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
Thanks!
reply
    Bookmark Topic Watch Topic
  • New Topic