The SwitchYard 0.2 release contained full JBoss AS6 and JBoss AS7 distributions i.e. modified AS6 and AS7 distributions containing the "bits" to allow it run SwitchYard applications. SwitchYard 0.3 will also contain a JBoss AS7 Installer, which will allow you to install SwitchYard into an existing JBoss AS7 instance.

This installer is a simple .zip file containing an Ant script plus all the components for AS7. It reduces the download binary size quite a bit - 40M Vs 120M (for the full distribution), and we'll be reducing it more.

The nightly builds can be found here. Just download the "SwitchYard-AS7-Installer.zip" file, unzip it and follow the instructions in the README.txt file.

The basic gist of what's happening here is simple enough. When SwitchYard sees a CDI @Service with operations implemented using JAXB annotated types, it automatically installs JAXB transformers to transform between these JAXB types and their corresponding XML namespace. If then (for example), you use the same wsdl (as used to generate the JAXB Java types) to expose a Webservice via the SwitchYard SOAP Gateway, all the transformation logic is automatically set up for the service, so no need to implement and configure any transformers.

After building you'll find there are a number of quickstarts jar files that can be deployed to your SwitchYard enabled AS Server. We'll be adding proper readmes/docs to the quickstarts before the release but here's a quick rundown:

demos/orders: This Quickstart demos the SwitchYard SOAP component combind with the CDI based Bean Services. Deploy it to your App Server and then use a SOAP Client (e.g. soapUI) to invoke the SOAP endpoint binding (see the AS console for the Service URL and then add "?wsdl" to get the wsdl). This invokes CDI Bean implemented SwitchYard Service through the SwitchYard Exchange mechansim.

camel-binding: This Quickstart demos SwitchYard's Apache Camel integration. A CDI Bean Service is exposed via a Camel File Endpoint. To exercise the quickstart you need to drop a "test.txt" file (containing some text) into the "target/input" folder off your App Server's bin directory (e.g. "switchyard-as6-0.1/bin/target/input").

camel-service: This quickstart is currently broken and we are working on fixing it.

Please give it a try and let us hear about any issues you encounter !!

Magesh recently wrote some SwitchYard components to enable SOAP bindings on a SwitchYard Service, while at the same time, I did some work to allow SwitchYard expose POJOs as Services. Keith mentioned this in his last blog post.

As part of my work, I looked at approaches to making these components work more smoothly together. I recorded a VERY rough screencast of some of this work. It was recorded in one pass, so I talked too much about some things and forgot to menton others, but still... it gives an idea of what we've been doing. Take a look: http://www.screencast.com/t/85kxYxF6Cs6e