Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "STP Service Creation User Guide"
(→Create JAX-WS component) |
(→Create JAX-WS component) |
||
Line 34: | Line 34: | ||
== Create service component == | == Create service component == | ||
=== Create JAX-WS component === | === Create JAX-WS component === | ||
+ | ==== Concepts ==== | ||
*Edit the wsdl document | *Edit the wsdl document | ||
Double click a wsdl file from the navigator tree, you will open wsdl editor. Switch to Design Tab, you can right click to add operation or message part or Fault to wsdl file, or edit name/message part by double-clicking. In outline view, you can navigate the wsdl document tree and add/delete elements. | Double click a wsdl file from the navigator tree, you will open wsdl editor. Switch to Design Tab, you can right click to add operation or message part or Fault to wsdl file, or edit name/message part by double-clicking. In outline view, you can navigate the wsdl document tree and add/delete elements. |
Revision as of 05:20, 19 December 2007
Contents
Installation
Install from update site
This kind of installation downloads STP plugins, and plugins required from other Eclipse projects automatically.
Download from STP website
The latest STP 0.7.0 build can be downloaded from here
Plugins required from other Eclipse projects
*emf-sdo-xsd-SDK-2.3.0 *GEF-ALL-3.3 *JEM-SDK-1.2.3_jem *wtp-sdk-S-2.0 *GMF-sdk-2.0 *mdt-ocl-SDK-1.1 *emf-validation-SDK-1.1 *emf-query-SDK-1.1 *emf-transaction-SDK-1.1 *javax.wsdl 1.5.1
Install to eclipse
Extract all required plugins to the STP Installation directory
Install runtime
Select one of the following as Pre-requisite SOA runtime:
- JAX-WS runtime: Apache CXF 2.1 SNAPSHOT, or Sun JAX-WS RI
- SCA runtime: Apache Tuscany SCA Java 1.0
- Apache Tomcat (Install only if you want to deploy the generated service to Tomcat Container)
In order to deploy JAX-WS service to Tomcat container, please copy all jars under ${apache_cxf_install}/libs and ${apache_cxf_install}/modules into ${tomcat_install}/shared/lib
Example
Create service component
Create JAX-WS component
Concepts
- Edit the wsdl document
Double click a wsdl file from the navigator tree, you will open wsdl editor. Switch to Design Tab, you can right click to add operation or message part or Fault to wsdl file, or edit name/message part by double-clicking. In outline view, you can navigate the wsdl document tree and add/delete elements.
- Create service component from java interface
- Create service component from wsdl
- Create service component from scratch
- Add JAX-WS handler
- Use the annotation property view
- Add JAX-WS functions to existing eclipse project
- Generate code from wsdl file
- Annotation validation
- Create simple frontend for Apache CXF
Create RESTful service (TBD)
Create JBI component (TBD)
Create SCA component (TBD)
Package and deploy service component
Add a server
Create deployable package
Deploy component
Undeploy component
Test and debug your component
Create a test client
Use REST test client (TBD)
Debug your application
Report bug/Get help
Where to report STP bug
Where to get help
Maillist
There are two maillists:
stp-user maillist for stp users.
stp-dev maillist for stp developers.
For detail information on how to subscribe, please refer to stp-user, stp-dev
Newsgroup
STP newsgroup is used by end users to ask questions.
server: news.eclipse.org
For detail information on how to register, please refer to here