1 Reply Latest reply on Mar 29, 2011 12:53 PM by peterj

    Best way to create a Web Service client on Jboss 4.2.1

    arubalcaba

      We have a couple of versions of Jboss running within our organization. Recently we've exposed some JbossWS Endpoints on a Jboss5 using jbossws-native-3.4.0.  Those services need a client that is going to run on Jboss 4.2.1.  What is the best way to go about doing this?  Does Jboss 4.2.1 come with a certain version of JbossWS and can I just use the wsconsume for this that will use Jboss 4.2.1 and not Jboss5?

       

       

      What jars will I need for the client to run correctly?

        • 1. Best way to create a Web Service client on Jboss 4.2.1
          peterj

          Treat the web services exposed by AS 5.1.0 as you would any foreign web service (that is, any web service exposed by an outside organization over which you have no control). In such a case, you would use the tools that come with AS 4.2.1 to generate the client stubs for the web service and then use those in your code to access the web service.