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"

(Update eclipse.ini)
(Pre-requisites SOA runtime)
 
(One intermediate revision by one other user not shown)
Line 31: Line 31:
 
===  Pre-requisites SOA runtime ===
 
===  Pre-requisites SOA runtime ===
 
*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]
 
*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 39: 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)
+
 
 +
(note on [[updating eclipse.ini on MacOS]])
  
 
=== setup Tomcat shared lib ===
 
=== setup Tomcat shared lib ===

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