3 Replies Latest reply on Oct 6, 2006 9:10 AM by Kevin Conner

    how to deploy transactional web services in Axis2 with JBoss

    yabing chen Newbie

      Hi, I search through the internet and cannot find any detailed materials on how to deploy the transactional web services in axis 1.x or axis2. the Programmers Guide mentioned this part very little.
      but I think it will be very useful and realistic for developers to use these two together because both are open source projects.

      actually I downloaded the JBoss TS 4.2.1, but it cannot be installed when I try to run the command from the command line: InstallTransactionServerService-NT.bat. the error is: AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Microsoft Windows applications.

      would appreciate very much if anyone can give a hand on these.thanks.

        • 1. Re: how to deploy transactional web services in Axis2 with J
          Kevin Conner Master

          I haven't looked at Axis for some time now, we replaced it with our own SOAP stack while in Arjuna, but it should be easy to get XTS running.

          The only part of the system that currently relies on a guest SOAP stack is the interceptors for the web service being made transactional. These are responsible for intercepting the calls and placing (retrieving) the appropriate context into (from) the SOAP header.

          Our serialisation is based on StAX but we do have adapters for DOM and SAAJ. I believe Axis (1 & 2) support SAAJ so it should be reasonably straight forward to take the current interceptors and modify them to fit Axis.

          AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Microsoft Windows applications

          I have not seen this before but a quick google search appears to suggest that it may be an issue with your system.

          Kev

          • 2. Re: how to deploy transactional web services in Axis2 with J
            yabing chen Newbie

             

            "Kevin.Conner@jboss.com" wrote:
            I haven't looked at Axis for some time now, we replaced it with our own SOAP stack while in Arjuna, but it should be easy to get XTS running.

            The only part of the system that currently relies on a guest SOAP stack is the interceptors for the web service being made transactional. These are responsible for intercepting the calls and placing (retrieving) the appropriate context into (from) the SOAP header.

            Our serialisation is based on StAX but we do have adapters for DOM and SAAJ. I believe Axis (1 & 2) support SAAJ so it should be reasonably straight forward to take the current interceptors and modify them to fit Axis.


            Hi Kevin, thanks for your reply. I am still not sure how to use it. the issue now is that I need to deploy transactional web services and then use a client to invoke it. the task is very eurgent so I would appreciate you very much if the following questions can be answered.
            firstly, can I directly deploy web services into XTS without a soap engine like Axis? in another words, is XTS also an SOAP engine?
            secondly, once deployed, say, in Axis, any best practice way to invoke the transactional services? which are the configurations need to be done?

            thanks.

            • 3. Re: how to deploy transactional web services in Axis2 with J
              Kevin Conner Master

               

              can I directly deploy web services into XTS without a soap engine like Axis? in another words, is XTS also an SOAP engine?

              You can use the SOAP stack in XTS however there are no tools to help you in this process. It involves a lot of work. The SOAP stack was written so that XTS had independence from the underlying SOAP implementations and is tailored for XTS. It is not a product in its own right.

              Having said that our interop webservices have all been written using this stack.

              any best practice way to invoke the transactional services? which are the configurations need to be done?

              The best way is to have a look at the demonstration which is included with XTS. This is a very simple theatre/restaurant/taxi scenario and shows the client and server sides in action.

              Kev