Mac setup:

	•	OS X 10.9.4
	•	JBDS 8.1.0.GA-v20150327-1349-B467
	•	Fuse Tooling 7.2.3.v20151008-1250-H108-CR2
	•	Switchyard 2.0.1v20150923-1505-H19-CR1
	•	JRE 1.7.0_25-b15

Setting up the Fuse Server:

	1.	Delete Data and Instances dirs from jboss-fuse-6.2.1.redhat-070 install dir
	2.	Create fresh workspace.
	3.	Open JBDS.
	4.	Switch to Fuse Integration perspective.
	5.	In Servers view, click the create new server link to open the Define New Server Wizard.
	a.	Select JBoss Fuse 6.2 server from the list.
	b.	In JBoss Fuse Runtime page, change Name to JBoss Fuse 6.2.1 Runtime Server.
	c.	Use JRE runtime JavaSE-1.7 Execution environment.
	d.	Click Next to open Config Details page, keep default values for Port (8101), User Name (admin), and Password (***** which is admin from users.properties file).
	e.	Click Finish.
	f.	In Secure Storage popup, enter my password for Eclipse’s secure storage where user runtime data and password is stored.
	6.	In Servers view, select the Fuse Server and start it up. (You will not be prompted for the secure storage master password this session. When you open a new session, you’ll be prompted for the password.)
	7.	When JBoss Fuse splash screen opens in Shell view, do osgi:list to check the installed bundles (bundle count for Fuse install is 263 on my Mac). The list should be devoid of any Switchyard bundles.
	8.	For each of the three switchyard-* features (-bean, -camel, -soap), do features:install switchyard-*, one after the other.
	9.	Do osgi:list to check that all three features are installed and active (installing all three features increased the bundle count to 351 on my Mac).

Importing the bean-service:

	1.	Right-click Project Explorer, to open the context menu, and select import>import…>Maven>Existing Maven Projects.
	2.	In the Select Maven Projects wizard, for Root Directory, browse to the JBoss Fuse installDir>quickstarts/switchyard/bean-service and select it.
	3.	In the Projects pane, select the pom.xml file for the switchyard-bean-service and click Finish.
	4.	When it has finished importing, right-click the switchyard-bean-service project Project Explorer to open the context menu, and select Enable Fuse Camel Nature. 
	5.	Click Finish.

Testing the project with JUnit:

	1.	In Project Explorer, right-click src/test/java/org.switchyard.quickstarts…/OderServiceTest.java to open the context menu, and select Run As>JUnit Test.
	2.	Console view opens automatically to display the log output. 
	3.	Switch to JUnit view to see test results. Should have run successfully . (it didn’t yesterday because I did not specify JavaSE-1.7 during server setup. But when I reconfgured the JRE Sys Lib to use it and reran the test, it ran successfully with no errors)

Publishing the project:

	1.	In Servers view, right-click the Fuse server to open the context menu and select Add and Remove.
	2.	Move the switchyard-bean-service project from the Available column to the Configured column.
	3.	Click Finish.
	4.	Wait until the project has been published (takes about 2+ minutes).
	5.	Check Console view for output logs.
	6.	In Shell view, do osgi:list, to check that the switchyard-bean-service is installed and active.

Testing the Web service with Web Service Tester:

	1.	Open a browser to http://localhost/cxf/ (don’t use Safari. It opens this page, but when you click the link to the WSDL page, the WSDL doesn’t display. So I use Firefox instead.)
	2.	Click the link to the WSDL page (http://localhost:8181/cxf/quickstart-bean/OderService?wsdl).
	3.	Copy the url of the WSDL page from the browser.
	4.	In JBDS, click Window>Show View/Other>JBoss Tools Web Services>Web Service Tester to open it.
	5.	In the Tester wizard, click the drop-down menu showing GET, and select JAX WS. 
	6.	Click the Get From WSDL icon to open the Select WSDL page, and paste the copied url into WSDL URI. The remaining fields are autofilled with the info from the WSDL.
	7.	Click OK.
	8.	In the Tester wizard, the Request Body pane displays and example request message in XML format.
	9.	Click the Tree icon to switch Request Body pane display to tree format, which you can [supposedly] edit.
	10.	Click the orderId item, and either enter a value (eg ORDER10), or copy the value from the OrderServiceTest.java file (open it in the Java editor).

As soon as I enter a value for orderId, JBDS hangs, and I have to force quit it.