Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

SwitchYard OpenShift Express Repo

branch: master
README.md

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

git push

That's it, you can now checkout your application at:

http://swydapp-$yourdomain.rhcloud.com

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

http://swydapp-$yourdomain.rhcloud.com/OrderService/OrderService?wsdl

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>

Source development

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.

http://swydapp-$yourdomain.rhcloud.com

Remember to enable openshift profile, if you update the source files, by renaming the pom.xml's profile from

<id>switchyard</id>

to

<id>openshift</id>
Something went wrong with that request. Please try again.