Red Hat Training

A Red Hat training course is available for Red Hat Fuse

8.4. Testing Your First Integration Quickstart Application

Procedure 8.5. 

  1. Start JBoss Fuse:
    $ ./installDir/bin/fuse
  2. Install and start the switchyard-bpm-service by running the following console command. Any dependent features specified by the application’s features file will be installed automatically.
    JBossFuse:karaf@root> features:install fuse-bxms-switchyard-quickstart-bpm-service
  3. Submit a webservice request to invoke the SOAP gateway.
    1. Open a terminal window and navigate to the associated quickstart directory that was unpacked from the quickstart application ZIP file (in this case, switchyard-bpm-service).
    2. Run the following command:
      $ mvn clean install
      Note
      You will need the following repositories configured in your Maven settings.xml file:
      • http://maven.repository.redhat.com/techpreview/all/
      • http://repository.jboss.org/nexus/content/repositories/public/
      • https://repo.fusesource.com/nexus/content/groups/public/
    3. Run the following command:
      $ mvn exec:java -Pkaraf
  4. You will receive the following response:
    SOAP Reply:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/><soap:Body><ns2:submitOrderResponse xmlns:ns2="urn:switchyard-quickstart:bpm-service:1.0">
        <orderId>test1</orderId>
        <accepted>true</accepted>
        <status>Thanks for your order, it has been shipped!</status>
    </ns2:submitOrderResponse></soap:Body></soap:Envelope>
    Note
    If you have not restarted the server since working through the configuration procedures up to this point, you might receive the following response. If so, restart the server and run the command again.
    SOAP Reply:
    <html><body>No service was found.</body></html>