Skip to main content

webservice with both soap and Restful support

1 reply [Last post]
sridhar_ratna
Offline
Joined: 2006-02-17
Points: 0

I am developing a webservice which needs to support both the SOAP as well RESTful.
Initially developed in AXIS2 and works fine. I'm able to invoke the service thru web browser and invoke the services and getting response.
But the problem is that AXIS is very very slow when need to upload data more than 50MB.

In this scenarion JAXWS is working with a blazing speed.
So planned to reimplement it with JAXWS

I found an example dual-binding in the distribution. This service is working with the given client is distribution but when tried to invoke thru browser it is not working. I tried the urls below and none works.
http://localhost:8080/jaxws-dual_binding/add?arg0=2&arg1=3
http://localhost:8080/jaxws-dual_binding/rest/add?arg0=2&arg1=3

Browser simply says that "The requested resource (/jaxws-dual_binding/add) is not available.

When brosed the wsdl, its not showing any http bindings.

If not browsable, then how would it said to be rest support.
Am i doing anything wrong.

Please suggest.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
javakurious
Offline
Joined: 2012-06-18
Points: 0

Hi Sridhar,

I am sort of struggling with similar issue. I am trying to implement a web service accessible through SOAP and as well as HTTP GET and POST (query and response needs to be in XML). I was looking into xml/http binding as well as provider interface implementation.

Here is the link that I am trying to follow.

How are you doing it ?