8.4. Testing Your First Integration Quickstart Application
Procedure 8.5.
- Start JBoss Fuse:
$ ./installDir/bin/fuse
- 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
- Submit a webservice request to invoke the SOAP gateway.
- 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).
- Run the following command:
$ mvn clean install
NoteYou will need the following repositories configured in your Mavensettings.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/
- Run the following command:
$ mvn exec:java -Pkaraf
- 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>
NoteIf 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>