Search

8.4. Testing Your First Integration Quickstart Application

download PDF

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>
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.