Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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) |
|||
Line 34: | Line 34: | ||
== Create service component == | == Create service component == | ||
=== Create JAX-WS component === | === Create JAX-WS component === | ||
+ | *edit the wsdl document | ||
+ | *create sc from java interface | ||
+ | *create sc from wsdl | ||
+ | *create service component from scratch | ||
+ | *add JAX-WS handler | ||
+ | *use the annotation property view | ||
+ | *Add JAX-WS functions to existing eclipse project | ||
+ | |||
=== Create RESTful service (TBD) === | === Create RESTful service (TBD) === | ||
=== Create JBI component (TBD) === | === Create JBI component (TBD) === |
Revision as of 04:57, 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
- edit the wsdl document
- create sc from java interface
- create sc from wsdl
- create service component from scratch
- add JAX-WS handler
- use the annotation property view
- Add JAX-WS functions to existing eclipse project
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