3 Replies Latest reply on May 21, 2007 5:16 AM by Tom Fennelly

    JRuby and JBossESB

    johnurban Newbie

      Is it possible now, to create a ruby on rails web service, deploy it using JRuby and have it talk nicely w/ the JBoss ESB?

        • 1. Re: JRuby and JBossESB
          Burr Sutter Master

          Yes. First test the Ruby-based Web Service with a tool called SoapUI. If that testing proves the WS is ready to go then integrate with the ESB using something like the following:

           <action name="soapui-client" class="org.jboss.soa.esb.actions.soap.SOAPUIClient">
           <property name="wsdl" value="http://localhost:18080/active-bpel/services/RetailerCallback?wsdl"/>
           <property name="operation" value="SendSalesOrderNotification"/>
           <property name="paramsLocation" value="EXTRACTED_BEANS_HASH"/>

          More details on the soap ui action will be available soon. You can look at the webservice-bpel quickstart in 4.2MR2 as the first example. More will come.


          • 2. Re: JRuby and JBossESB
            Tom Fennelly Master

            Hey John.

            Just to clarify... you wish to invoke a JRuby based webservice from the ESB? If so, it's as Burr has outlined there - use the SOAPUIClient action to make the invocation.

            I would like to point out that that action implementation is something we're working on right now, so it will be more useful (and have better docs) by the end of this week.

            • 3. Re: JRuby and JBossESB
              Tom Fennelly Master

              Also, see this post.