• 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

Can I use Axis2 as a client to send non-SOAP xml?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

Although I've previously had a lot of help looking through the Java Ranch forums, this is my first post, so let me say hello to you all -

I'm trying to build an app that will access, what I was led to believe was, a web service, so for the last few days I've been trying to get to grips with Axis2. Now that I'm almost there, I've been told that the service is not actually a web service because it doesn't use SOAP, although it is xml sent over HTTP. However, now that I've got so far I would still like to utilise the connection, proxy properties, etc of Axis2 that make accessing web services easy, but I just want to send some xml that I create rather than the SOAP header/body/envelope/etc.

Basically I think the problem I'm having is that ServiceClient.sendRecieve(OMElement); take my OMElement and puts it in the SOAP body before sending. What I need it to do is to just send the element as is.

If this is not possible with Axis2, does anyone have any other bright ideas on how to leverage all the functionality but just send the xml?

Thanks kindly for your help
Cas
 
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic