Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "STP Service Creation getting started"

(Pre-requisites SOA runtime)
 
(20 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
The latest stp build can be downloaded from [http://download.eclipse.org/stp/downloads/ here]
 
The latest stp build can be downloaded from [http://download.eclipse.org/stp/downloads/ here]
  
==  Setup pre-requisites ==
+
==  Setup STP ==
 
=== Plugins required from other Eclipse projects ===
 
=== Plugins required from other Eclipse projects ===
  *[http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.3.0/S200706262000/emf-sdo-xsd-SDK-2.3.0RC6.zip emf-sdo-xsd-SDK-2.3.0]
+
  *[http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.3.0/R200706262000/emf-sdo-xsd-SDK-2.3.0.zip emf-sdo-xsd-SDK-2.3.0]
  *[http://download.eclipse.org/tools/gef/downloads/drops/S-3.3RC3-200706131125/GEF-ALL-3.3RC3.zip GEF-ALL-3.3]  
+
  *[http://download.eclipse.org/tools/gef/downloads/drops/R-3.3-200706281000/GEF-ALL-3.3.zip GEF-ALL-3.3]  
 
  *[http://download.eclipse.org/tools/ve/downloads/drops/R-1.2.3_jem-200701301117/JEM-SDK-1.2.3_jem.zip JEM-SDK-1.2.3_jem]
 
  *[http://download.eclipse.org/tools/ve/downloads/drops/R-1.2.3_jem-200701301117/JEM-SDK-1.2.3_jem.zip JEM-SDK-1.2.3_jem]
  *[http://download.eclipse.org/webtools/downloads/drops/R2.0/S-2.0RC3-200706140654/wtp-sdk-S-2.0RC3-200706140654.zip  wtp-sdk-S-2.0]
+
  *[http://download.eclipse.org/webtools/downloads/drops/R2.0/R-2.0-200706260303/wtp-sdk-R-2.0-200706260303.zip  wtp-sdk-S-2.0]
  *[http://download.eclipse.org/datatools/downloads/1.5/dtp-sdk_1.5RC4.zip dtp-sdk_1.5]  
+
  *[http://download.eclipse.org/datatools/downloads/1.5/dtp-sdk_1.5.zip dtp-sdk_1.5]  
  *[http://download.eclipse.org/modeling/gmf/downloads/drops/S-2.0RC2-200706051400/GMF-sdk-2.0RC2.zip GMF-sdk-2.0]
+
  *[http://download.eclipse.org/modeling/gmf/downloads/drops/R-2.0-200706210000/GMF-sdk-2.0.zip GMF-sdk-2.0]
  *[http://download.eclipse.org/modeling/mdt/ocl/downloads/drops/1.1.0/S200705301319/mdt-ocl-SDK-1.1RC2.zip mdt-ocl-SDK-1.1]
+
  *[http://download.eclipse.org/modeling/mdt/ocl/downloads/drops/1.1.0/R200706201142/mdt-ocl-SDK-1.1.zip mdt-ocl-SDK-1.1]
  *[http://download.eclipse.org/modeling/emf/validation/downloads/drops/1.1.0/S200705301349/emf-validation-SDK-1.1RC2.zip emf-validation-SDK-1.1]
+
  *[http://download.eclipse.org/modeling/emf/validation/downloads/drops/1.1.0/R200706201210/emf-validation-SDK-1.1.zip emf-validation-SDK-1.1]
  *[http://download.eclipse.org/modeling/emf/query/downloads/drops/1.1.0/S200705301347/emf-query-SDK-1.1RC2.zip emf-query-SDK-1.1]
+
  *[http://download.eclipse.org/modeling/emf/query/downloads/drops/1.1.0/R200706201159/emf-query-SDK-1.1.zip emf-query-SDK-1.1]
  *[http://download.eclipse.org/modeling/emf/transaction/downloads/drops/1.1.0/S200705301409/emf-transaction-SDK-1.1RC2.zip emf-transaction-SDK-1.1]
+
  *[http://download.eclipse.org/modeling/emf/transaction/downloads/drops/1.1.0/R200706201332/emf-transaction-SDK-1.1.zip emf-transaction-SDK-1.1]
*orbit-S200705021947
+
  
 
=== 3rd-party plugins ===
 
=== 3rd-party plugins ===
*[http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/cxf-eclipse-plugin/2.0-incubator-SNAPSHOT/cxf-eclipse-plugin-2.0-incubator-20070619.165612-26.zip Apache CXF plugin for JAX-WS development]
+
*[http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/cxf-eclipse-plugin/2.1-incubator-SNAPSHOT/cxf-eclipse-plugin-2.1-incubator-20070729.204751-4.zip Apache CXF plugin for JAX-WS development]
  
 
*[http://people.apache.org/~jliu/updatesites/tuscany/plugins/org.apache.tuscany_1.0.0.jar Apache Tuscany plugin for SCA development]
 
*[http://people.apache.org/~jliu/updatesites/tuscany/plugins/org.apache.tuscany_1.0.0.jar Apache Tuscany plugin for SCA development]
 
  
 
===  Pre-requisites SOA runtime ===
 
===  Pre-requisites SOA runtime ===
*JAX-WS runtime: [http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/cxf-distribution/2.0-incubator-SNAPSHOT/cxf-distribution-2.0-incubator-20070606.203457-21.zip Apache CXF]
+
*JAX-WS runtime: [http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/apache-cxf/2.1-incubator-SNAPSHOT/apache-cxf-2.1-incubator-20070729.204751-4.zip Apache CXF]
*SCA runtime: [http://people.apache.org/dist/incubator/tuscany/java/sca/1.0-incubator-M2/tuscany-sca-1.0-incubator-M2-bin.zip Apache Tuscany SCA Java]
+
*SCA runtime: [http://incubator.apache.org/tuscany/sca-java-10-incubating.html Apache Tuscany SCA Java]
 
*Apache Tomcat (Install only if you want to deploy the generated service to [http://tomcat.apache.org/download-55.cgi Tomcat Container])
 
*Apache Tomcat (Install only if you want to deploy the generated service to [http://tomcat.apache.org/download-55.cgi Tomcat Container])
  
Line 41: Line 39:
  
 
For reason why need to add the bootdelegation flag, please reference [http://wiki.eclipse.org/Eclisep_3.3_runtime_options_for_STP.SC#bootdelegation_configuration here]
 
For reason why need to add the bootdelegation flag, please reference [http://wiki.eclipse.org/Eclisep_3.3_runtime_options_for_STP.SC#bootdelegation_configuration here]
 +
 +
(note on [[updating eclipse.ini on MacOS]])
  
 
=== setup Tomcat shared lib ===
 
=== setup Tomcat shared lib ===
Line 46: Line 46:
  
 
== Run it ==  
 
== Run it ==  
 +
Set Eclipse JVM to JDK1.5, CXF does not support JDK1.6
  
 
=== Demo movie ===
 
=== Demo movie ===
Line 53: Line 54:
 
=== Introduction on developerworks website===
 
=== Introduction on developerworks website===
 
Tyler Anderson wrote a good article about [http://www-128.ibm.com/developerworks/edu/os-dw-os-eclipse-soatp.html Use the Eclipse SOA Tools Platform plug-in to build and deploy a Web service]
 
Tyler Anderson wrote a good article about [http://www-128.ibm.com/developerworks/edu/os-dw-os-eclipse-soatp.html Use the Eclipse SOA Tools Platform plug-in to build and deploy a Web service]
However, since that introduction was written several months ago, here are some updates:
+
 
??? Coming Soon ???
+
Since that was wrote for stp0.4.0 before, some changes apply as following:
 +
* For Eclipse plugins dependency, Apache CXF plugin and Apache CXF runtime, please use the link provided in this wiki page.
 +
* Page 22 'SOA->Generate Deploy Package' menu has been changed to: select the wsdl file, then from popup menu, select 'Build Package...'
 +
* wsdl url for tomcat is http://localhost:8080/ScientificCalculator/services/ScientificCalculator?wsdl

Latest revision as of 05:32, 6 December 2007

This wiki page is used to explain how to install and use the STP Service Creation for Eclipse Europa release.

(Last updated on Apr 28, 2007)

Where to get stp

Install from Eclipse Europa

Since stp is part of Eclipse Europa release, it can be installed from Europa Discovery Site as following:

Help->Software Updates->Find and Install...
->Search for new features to install->Europa Discovery Site->SOA Development

Download from stp website

The latest stp build can be downloaded from here

Setup STP

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
*dtp-sdk_1.5 
*GMF-sdk-2.0
*mdt-ocl-SDK-1.1
*emf-validation-SDK-1.1
*emf-query-SDK-1.1
*emf-transaction-SDK-1.1

3rd-party plugins

Pre-requisites SOA runtime

Update eclipse.ini

Before start Eclipse, please update the eclipse.ini file under your Eclipse installation directory by adding the following line:

-Dorg.osgi.framework.bootdelegation=*

For reason why need to add the bootdelegation flag, please reference here

(note on updating eclipse.ini on MacOS)

setup Tomcat shared lib

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

Run it

Set Eclipse JVM to JDK1.5, CXF does not support JDK1.6

Demo movie

Flash movie shows how to create and deploy a JAX-WS web service


Introduction on developerworks website

Tyler Anderson wrote a good article about Use the Eclipse SOA Tools Platform plug-in to build and deploy a Web service

Since that was wrote for stp0.4.0 before, some changes apply as following:

* For Eclipse plugins dependency, Apache CXF plugin and Apache CXF runtime, please use the link provided in this wiki page. 
* Page 22 'SOA->Generate Deploy Package' menu has been changed to: select the wsdl file, then from popup menu, select 'Build Package...'
* wsdl url for tomcat is http://localhost:8080/ScientificCalculator/services/ScientificCalculator?wsdl

Back to the top