3 Replies Latest reply on Aug 7, 2008 5:15 AM by Russell Cole

    HTTP GET

    Russell Cole Newbie

      Hi,

      I'm using JBoss to host JAX-WS services but when I try to visit the service URL (not the WSDL) in the browser then I get an error message saying "HTTP GET not supported", why is this?

      Also, what is the best way to test JAX-WS services? In .NET you get a test form if you visit the service URL in a browser and this allows you to submit values and see the XML response, is there anything like this for JAX-WS?

      Thanks,
      Russell!

        • 1. Re: HTTP GET
          Richard Opalka Master

           

          "r.eloc" wrote:
          Hi,

          I'm using JBoss to host JAX-WS services but when I try to visit the service URL (not the WSDL) in the browser then I get an error message saying "HTTP GET not supported", why is this?

          We only support GET for WSDL and XML schema retrievals.
          "r.eloc" wrote:
          Also, what is the best way to test JAX-WS services? In .NET you get a test form if you visit the service URL in a browser and this allows you to submit values and see the XML response, is there anything like this for JAX-WS?

          No

          • 2. Re: HTTP GET
            Alessio Soldano Master

             

            "r.eloc" wrote:
            Also, what is the best way to test JAX-WS services?

            It depends on the kind of tests you need / how is going to run the tests (a developer or not).

            In .NET you get a test form if you visit the service URL in a browser and this allows you to submit values and see the XML response, is there anything like this for JAX-WS?


            Nothing specifically defined by JAX-WS of course, but you could take a look here: http://jbws.dyndns.org/mediawiki/index.php?title=Staging_tests

            • 3. Re: HTTP GET
              Russell Cole Newbie

              Thanks for the quick reply.

              I'm thinking from a developer perspective. It's handy to use the web browser whilst developing just as a quick check to make sure the service has been deployed ok and is returning some kind of data and not an error message.