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
subject: Can I use Axis2 as a client to send non-SOAP xml?