Hi,
I have an AXIS2 webservice already in place for my application. However, for an android mobile client, SOAP based webservices are too heavy. Hence, I am planning to wrap this webservice into RESTful webservice.
To do this, 1. I ran wsimport on my wsdl to generate jaxb sources, since the ones I had were AXIS2 generated(with ADB).
I wrote a RestGateway resource class using jersey. The idea is, when someone calls my Rest webservice passing it an XML file as an argument, I get a Jaxb object created in step 1.
Then I transform this Jaxb object into the ADB object and call the AXIS2 webservice.
Question: Does whatever I'm doing make sense? If it does, is it the most optimal way of doing it?
-thanks