SwitchYard on OpenShift Express
This template helps you get up and running quickly with a SwitchYard application on OpenShift Express.
Create an account at http://openshift.redhat.com/
Use the 'rhc' client tool to create a new application. These instructions assume the name 'swydapp' is used, but you can use any name you like. The application type can be 'jboss-as7' or 'jbosseap-6.0'. To include the SwitchYard modules in your application instance, include 'switchyard-0.6' in the list of cartridges as well.
rhc app create swydapp jbosseap-6.0 switchyard-0.6
Add this upstream SwitchYard repo
cd swydapp git remote add upstream -m master git://github.com/jboss-switchyard/switchyard-openshift.git git pull -s recursive -X theirs upstream master git apply standalone.diff git add . git commit -m 'Added SwitchYard subsystem'
Then push the repo to origin
That's it, you can now checkout your application at:
Samples deployed with your application
This repository will deploy a sample called osdemo.jar binary deployment. You can checkout the SOAP WSDL of this sample at
You can test this application using your favourite SOAP client. A valid SOAP request is shown here:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:switchyard-quickstart:bean-service:1.0"> <soapenv:Header/> <soapenv:Body> <urn:submitOrder> <order> <orderId>1</orderId> <itemId>BUTTER</itemId> <quantity>20</quantity> </order> </urn:submitOrder> </soapenv:Body> </soapenv:Envelope>
This repository is also a barebone SwitchYard application for source development. Read more at the cloud link of your application from here, once it is deployed.
Remember to enable openshift profile, if you update the source files, by renaming the pom.xml's profile from