Saturday, 28 April 2007

OMElement

After playing around for hours trying to figure out how to get rid of the namespace on the element. eg.

Most examples have you creating an element like this:

OMElement method = factory.createOMElement("method", nameSpace);


After many hours, of not looking through the documentation, I found that if you do this.

OMElement method = factory.createOMElement("method", null);


You will get <method> instead of <x:method>

Lets Get Started

Well I have started this blog, as a way to store my adventures through SOAP with apache axis 2. Basically I want to talk to flickr's api's via soap, but this is proving to be a little more difficult than I first thought.

Anyway to get you all started, here as the links to Axis and the flickr api.

http://www.flickr.com/services/api/ Flickr api link

http://ws.apache.org/axis2/ The Apache Axis2 website.

I know I could use REST or XML-RPC to talk to flickr, but I wanted to do SOAP, only using axis2.

I also know that apache supports REST and XML-RPC.