| <?xml version="1.0" encoding="UTF-8"?> |
| <cheatsheet title="Create a Web Service from a Java implementation bean using Apache CXF"> |
| <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm"> |
| <description> |
| This cheat sheet will demonstrate how to use the Web Services wizard to create a Web service from a Java implementation bean using the Apache CXF runtime and to deploy that service to an Apache Tomcat server and test it using the Web Services Explorer. |
| <br/> |
| <br/> |
| If you need help at any step, click the help button in the top right corner (?). |
| </description> |
| </intro> |
| <item |
| href="/org.eclipse.jdt.doc.user/gettingStarted/qs-9.htm" |
| title="Create or Import a Java implementation bean"> |
| <description> |
| Create or import a Java bean that will be used as the Web service implementation into the source folder of a Dynamic Web Project that has been enabled for Apache CXF Web services development. |
| </description> |
| </item> |
| <item |
| dialog="true" |
| href="/org.eclipse.jst.ws.cxf.doc.user/tasks/create_bottomup.html" |
| title="Create a Web service from a Java implementation bean"> |
| <description> |
| To create a Web service from a Java implementation bean perform the following steps: |
| </description> |
| <subitem |
| label="Select "File -> New -> Other..." from the main menu, expand the "Web Services" category and select "Web Service". Click "OK" to launch the Web Services wizard or select the "Click to perform" button to do this automatically."> |
| <command |
| required="false" |
| serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.jst.ws.creation.ui.wizard.serverwizard)"/> |
| </subitem> |
| <subitem |
| label="Select "Bottom up Java bean Web Service" as the "Web service type"."> |
| </subitem> |
| <subitem |
| label="Browse to select the Service Implementation."> |
| </subitem> |
| <subitem |
| label="Verify that "Apache CXF 2.x" is selected as the Web service runtime."> |
| </subitem> |
| <subitem |
| label="Move the service slider to the "Test service" stage."> |
| </subitem> |
| <subitem |
| label="Accept all other default values on this page and click "Next >"."> |
| </subitem> |
| <subitem |
| label="On the Service Endpoint Interface configuration page select the "Use a Service Endpoint Interface" check box followed by the "Create an SEI" button. Enter a name for the SEI, "Select All" the methods and click "Finish"."> |
| </subitem> |
| </item> |
| <item |
| href="/org.eclipse.jst.ws.consumption.ui.doc.user/tasks/ttestwsdl.html" |
| skip="true" |
| title="Test the Web service with the Web Services Explorer"> |
| <description> |
| The Web Services Wizard will launch the <b>Web Services Explorer</b> after successfully creating and deploying your Web service to Apache Tomcat. |
| <br/> |
| <br/> |
| To test the Web service select an opertaion in the <b>Web Services Explorer</b>, fill in the required information and click <b>Go</b>. |
| <br/> |
| <br/> |
| The result will be displayed in the <b>Status</b> pane. |
| </description> |
| </item> |
| <onCompletion> |
| Congratulations! You just created a JAX-WS Web service! |
| </onCompletion> |
| </cheatsheet> |