3 Replies Latest reply on Nov 17, 2008 12:54 PM by jihanty

    Making two web service talk through JBoss ESB  - Having issu

    Newbie

      I am trying make two web services talk through JBoss ESB. I am using a jbr-listener as a gateway to JBoss ESB. However my client web service has no knowledge of my ESB Messages . It could be a .NET client web service as well.

      Pictorially my case can be represented as -

      SOAP Web Service Client ( request and response Implementation Content type text/xml) -----> HTTP Port 8765 ---->JBoss ESB ---- HTTP Localhost 7001 ----> SOAP Web Service.

      Please advise what is the best way to approach the same.

      Thanks
      Abhijeet

        • 1. Re: Making two web service talk through JBoss ESB  - Having
          Kevin Conner Master

          What have you tried? What problems are you facing?

          • 2. Re: Making two web service talk through JBoss ESB  - Having
            Burr Sutter Master

            Think "consumer" and "producer". The ESB is the consumer and can use SOAPClient action to work with the external WS endpoint. When the ESB is the producer you can use the JBR listener as you described or in ESB 4.4 you can use the declarative feature where you describe the ESB-hosted WS via XSDs.

            I think that feature works on ESB 4.4 binary, you might have to build from source.

            Burr

            • 3. Re: Making two web service talk through JBoss ESB  - Having
              Newbie

               

              "Kevin.Conner@jboss.com" wrote:
              What have you tried? What problems are you facing?


              My WebService client talks to ESB through JBR listener and in turn ESB redirects the call to the targetted web service through SOAPClient - org.jboss.soa.esb.actions.soap.SOAPClient. For a PoC it is working . However to call a JBR listener I am using Jboss - remoting libraries. That would not be the case for a .NET client which will be my actual environment?

              Second solution I am thinking is this -

              For every targetted webservice provider I will have a dummy web service in JBoss ESB with the help of SOAPProcessor with the same signature. The client would call ESB through this web service interface and ESB would redirect the call to target web service through SOAPClient.

              I have not tried the second one though . Please advise . Please Let me know if there is a third option.