5 Replies Latest reply on Oct 28, 2005 9:39 AM by thomas.diesler

    Acessing webservice with browser

    alxs

      Hi!

      I'm switching from Axis webservices to JBossWS.

      When I understand it right JBossWS uses Axis as a base for its webservices.

      Is there a way to use an URL-Style call to services or endpoints like known from Axis (http://my.server.com/foo/services/BarService?method=fooBar...)? I really like this for a quick check.

      Thanks,
      Alex

        • 1. Re: Acessing webservice with browser
          thomas.diesler

          No, this is not supported. How can a simple GET send a valid SOAP envelope to an endpoint?

          • 2. Re: Acessing webservice with browser
            alxs

            Since axis offers this service it seems to be possible. I think that the GET request is somehow internally converted or mapped to the corresponding call to the service implelementation.

            However I have to learn to live without this.

            Alex

            • 3. Re: Acessing webservice with browser
              thomas.diesler

              There must be a number of restrictions for this to work. i.e. it can only work for simple rpc/literal, document/literal endpoints that have a primitive parameter list. What is the use case for the GET request?

              With jbossws we have a managed operation where you can paste a valid SOAP envelope in the browser.


              • 4. Re: Acessing webservice with browser
                alxs

                Of corse there are a number of restrictions. I personaly used it to do a short test after deploying so I didn't need to for a separate client.

                How do I access the managed operation you mentioned? Is it accessible using the JMX-Console? Pasting a SOAP envelope somewhere looks like a good alternative.

                Alex

                • 5. Re: Acessing webservice with browser
                  thomas.diesler

                  This is only available with jbossws in jboss-head

                  jboss.ws:service=ServiceEndpointManager
                  operation: processSOAPRequest

                  jbossws-1.0 will however be backported to jboss-4.0.x