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 getting started"
(→Plugins required from other Eclipse projects) |
(→Pre-requisites SOA runtime) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
=== Plugins required from other Eclipse projects === | === Plugins required from other Eclipse projects === | ||
*[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/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/ | + | *[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/ | + | *[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. | + | *[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/ | + | *[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/ | + | *[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/ | + | *[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/ | + | *[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/ | + | *[http://download.eclipse.org/modeling/emf/transaction/downloads/drops/1.1.0/R200706201332/emf-transaction-SDK-1.1.zip emf-transaction-SDK-1.1] |
− | + | ||
=== 3rd-party plugins === | === 3rd-party plugins === | ||
− | *[http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/cxf-eclipse-plugin/2. | + | *[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/ | + | *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:// | + | *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 === |
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)
Contents
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
- JAX-WS runtime: Apache CXF
- SCA runtime: Apache Tuscany SCA Java
- Apache Tomcat (Install only if you want to deploy the generated service to Tomcat Container)
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)
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