4 Replies Latest reply on May 23, 2002 10:09 AM by Ron Jawanda

    I need some help with deploying AXIS services

    Ron Jawanda Novice

      Jboss 3 rc2
      I don't know how to deploy an axis service (embedded jetty)

      I will give my first born for the answers.
      Thanks
      Ron

      I tried .jws files but don't know how to install them.
      I will use a deployment descriptor but can't seem to get the examples from apache axis to work.

      Thanks a million... in advance

        • 1. Re: I need some help with deploying AXIS services
          Julian Gosnell Expert

          From the README.html in jboss.net/docs:

          # The AxisService MBean functions as a (hot-)deployer for so-called Web Service aRchive (WSR- or .wsr-) files. These are ordinary .jar files that contain, besides necessary byte code for plugging into the Axis machinery, a slightly extended Web Service Deployment Descriptor (WSDD) in their "META-INF/web-service.xml" entry.

          ...

          In the JBoss.net testsuite, we have assembled some samples and tests that can serve as an inspiration and source of insight. You can build and run the testsuite against a running jboss server as follows (after having built the main jboss-all/testsuite!)

          cd jboss.net/testsuite
          build tests-standard-unit

          In the output directory, there will be some deployable Web Services (output/lib/addr.wsr is the JBoss-compatible package containing the Axis Address example, output/lib/hello.ear is a J2EE application consisting of the hello ejb module from the JBoss main testsuite and an additional web service layer on top of the HelloBean). In output/bin we also have put some (non-functional, arrgh) batch files to run the individual tests.



          I'm attaching a sample wsr file - in case you don't have a cvs tree checked out. (something is broken and I couldn't attach it - if you want it mail me at jules@jboss.org).

          I've never tried this but it looks fun. Perhaps we should add Web Services to this forum title ?

          Good Luck,


          Jules

          • 2. Re: I need some help with deploying AXIS services
            Ron Jawanda Novice

            Hi Jules,
            I found some of the stuff in the testsuite but it is a bit incomplete I think. I don't see your attachment here.
            I figured out quite a bit from the testsuite but I can't seem to find the Hello.jws (or Hello.java) class file.
            I have the web-service.xml
            But for the life of me I couldn't find the HelloWorld ebj (in the <ejb-link>)
            I started here
            http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/#dirlist
            But it seems like it is the source code for everything.
            I don't really know how I stumbled upon the web-service.xml since I don't know where the test suite is located but... I may be able to figure it out somehow.

            I can make up one on my own (that is what i am doing) but to save me 2 days (I take a long time to figure things out) an attachment would be fantastic.
            Thanks for your support and help.



            <!-- Example EJB Web Service Descriptor -->

            <deployment name="Hello"
            targetNamespace="http://net.jboss.org/hello"
            xmlns:hello="http://net.jboss.org/hello"
            xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:jbnet="http://net.jboss.org/server"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

            <!-- this is an extension to the Axis deployment descriptor which allows to
            specify the naming environment for the deployed ws logic -->
            <ejb-ref>
            <ejb-ref-name>Hello</ejb-ref-name>
            <ejb-link>HelloWorld</ejb-link>
            </ejb-ref>



            <!-- the final jndi name that this provider sits upon -->








            • 3. Re: I need some help with deploying AXIS services
              Julian Gosnell Expert

              read my posting a bit more carefully:

              "I'm attaching a sample wsr file - in case you don't have a cvs tree checked out. (something is broken and I couldn't attach it - if you want it mail me at jules@jboss.org)"

              Jules