0 Replies Latest reply: Apr 23, 2012 9:39 AM by 826582 RSS

    .webservice with both soap and Restful support

    826582
      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://www.java.net/external?url=http://localhost:8080/jaxws-dual_binding/add?arg0=2&arg1=3
      http://www.java.net/external?url=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.