-
1. Deploying M1 and the future?
tfennelly Mar 21, 2011 7:36 AM (in response to moofish32)SwitchYard core is not tied to any container. At present we support AS6 deployment, but there were issues with that in M1 that have now been resolved.
If you checkout and build all the modules from git you'll find you can deploy the quickstarts on AS6. There's a little bit of setup involved for AS6, but it's not difficult:
- Unzip core/deploy/build/target/switchyard.deployer.zip in the server/default/deployers folder of AS6.
- Copy components/bean/target/switchyard-component-bean-0.1.0-SNAPSHOT.jar to service/default/deploy.
- Copy components/soap/target/switchyard-component-soap-0.1.0-SNAPSHOT.jar to service/default/deploy.
- Start AS6
- Copy quickstarts/m1app/target/m1app-0.1.0-SNAPSHOT.jar to service/default/deploy.
- Use soapUI (or other) to load the service WSDL (service URI + "?wsdl") and then invoke the Webservice.
-
2. Deploying M1 and the future?
moofish32 Mar 27, 2011 8:02 PM (in response to tfennelly)Thanks for the response. I did get this working of course, and added some detail below. Besides JBoss AS what will be the next container supported?
Quick note I think most people would figure this out, but instead of service/default/deploy it is server/default/deploy.
For those people trying this out be sure to use the M1 branch and to follow the order Tom describes. For some reason if I do not remove the m1app jar from the deploy folder and restart AS 6 there is an error related to the bean component jar and weld.
Also just a quick guide for the beginner soapUI user. I used the eclipse plugin installed via their update site: http://www.soapui.org/eclipse/update/site.xml
After following Tom's steps open soapUI perspective and create a new project (crtl n) and the url if you left all the defaults is http://localhost:18001/OrderService?wsdl. You'll then just need modify the soap request to match the unit tests.