Using Axis2 services from Javascript (by removing the XML namespaces)

January 27th, 2009 · 1 Comment

If you want to call an Axis2 service from Javascript you will face the problem that the XML response of an Axis2 service call contains XML namespaces – something Javascript doesn’t like in cross-browser-friendly way.
The idea to fix this issue is to make an XSLT transformation directly from Axis2 that removes the unnecessary namespaces.
First we [...]

[Read more →]

Topics: · , , , , , ,

Building a JSON web service with Java and Axis2

January 23rd, 2009 · 5 Comments

It is said that in Java usually the easiest things are the hardest. The following is a nice example as it took me some time to figure out how to do it.
I wanted to build a simple URL request based web service in Java that returns an JSON object. Yes, you can do that with [...]

[Read more →]

Topics: · , , , , ,