3 Replies Latest reply on Jun 7, 2007 11:52 AM by kconner

    Problem in calling an external web service using Jboss ESB

    debadattamishra

      Hi,

      As per my last posting in the forum

      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=110155
      , I followed the document as posted in the forum. I refered the following doc http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalWebserviceConsumption and I looked into the the following few lines

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


      When I modeified in the jboss-esb.xml file and I called an external esb
      having somethin?wlsdl,
      I found the exception that class not found. When I tried to look into the several jar file that I did not find the class SOAPClient.java. But this java file is present in your source code. You can have a look. Please help me how to call an external web service using ESB. I will send one soap message(ie an xml file) and I will get a different soap response(ie an .xml file).

        • 1. Re: Problem in calling an external web service using Jboss E
          tfennelly

          Which App Server version are you using. If you're still working off the 4.2MR2 release, this class changed names recently and those docs refer to the current state of the code.

          In MR2, this class was called "org.jboss.soa.esb.actions.soap.SOAPUIClient".

          Also note that in MR2, that quickstart can only be run on 4.0.5GA of the App Server. We're working on fixing this right now. Sorry about the current state of things, but they will settle down very soon and hopefully you can try these quickstarts directly from SVN and have an easier time.

          • 2. Re: Problem in calling an external web service using Jboss E
            debadattamishra

            Hi,
            I have tested this sample on Jboss 4.0.5 GA AS and Jboss ESB 4.2 MR2.

            • 3. Re: Problem in calling an external web service using Jboss E
              kconner

              I have just had a look at the 4.2MR2 codebase and the class can be found in the webservice_bpel quickstart. This has been moved into the core within the current codebase.

              What you will need to do is copy that source file into your example and configure it as following.

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