You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ed...@apache.org on 2008/05/17 14:38:00 UTC
svn commit: r657347 [1/2] - in
/incubator/tuscany/java/sca/samples/helloworld-bpel-ws: ./ .settings/ src/
src/main/ src/main/java/ src/main/java/helloworld/ src/main/resources/
src/test/ src/test/java/ src/test/java/helloworld/ src/test/resources/
targ...
Author: edwardsmj
Date: Sat May 17 05:37:59 2008
New Revision: 657347
URL: http://svn.apache.org/viewvc?rev=657347&view=rev
Log:
Initial import of new Sample for a BPEL process exposed as a Web service
Added:
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.classpath
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.project
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.settings/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.settings/org.eclipse.jdt.core.prefs
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/README
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/build.xml
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.png (with props)
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.svg
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/pom.xml
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/java/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/java/helloworld/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/java/helloworld/BPELClient.java
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/deploy.xml
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.bpel
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.componentType
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.composite
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.wsdl
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/log4j.properties
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/java/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/java/helloworld/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/java/helloworld/BPELHelloWorldTestCase.java
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/resources/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/classes/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/classes/helloworld.cbp (with props)
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/dependency-maven-plugin-markers/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/dependency-maven-plugin-markers/org.apache.ode-ode-dao-jpa-ojpa-derby-zip-1.1.marker
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/mvn-eclipse-cache.properties
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/sample-helloworld-bpel.jar (with props)
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/surefire-reports/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/surefire-reports/TEST-helloworld.BPELHelloWorldTestCase.xml
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/test-classes/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/.gen#helloworld.wsdl
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/.gen#helloworld.wsdl.wsdl2java
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/helloworld/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/helloworld/HelloPortType.java
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/helloworld/HelloWorldFactory.java
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/helloworld/hello.java
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/helloworld/impl/
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/helloworld/impl/HelloWorldFactoryImpl.java
incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/wsdl2java-source/org/apache/tuscany/implementation/bpel/example/helloworld/impl/helloImpl.java
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.classpath
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.classpath?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.classpath (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.classpath Sat May 17 05:37:59 2008
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="src" path="target/wsdl2java-source"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/activeio/activeio/2.0-r118/activeio-2.0-r118.jar"/>
+ <classpathentry kind="var" path="M2_REPO/annogen/annogen/0.1.0/annogen-0.1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ws/commons/axiom/axiom-api/1.2.5/axiom-api-1.2.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ws/commons/axiom/axiom-dom/1.2.5/axiom-dom-1.2.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ws/commons/axiom/axiom-impl/1.2.5/axiom-impl-1.2.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/axion/axion/1.0-M3-dev/axion-1.0-M3-dev.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/axis2/axis2-adb/1.3/axis2-adb-1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/axis2/axis2-codegen/1.3/axis2-codegen-1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/axis2/axis2-java2wsdl/1.3/axis2-java2wsdl-1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/axis2/axis2-kernel/1.3/axis2-kernel-1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/backport-util-concurrent/backport-util-concurrent/3.0/backport-util-concurrent-3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen/2.2.3/codegen-2.2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore/2.2.3/codegen-ecore-2.2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common/2.2.3/common-2.2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-fileupload/commons-fileupload/1.1.1/commons-fileupload-1.1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.2/commons-io-1.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-primitives/commons-primitives/1.0/commons-primitives-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/derby/derby/10.3.1.4/derby-10.3.1.4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/2.2.3/ecore-2.2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change/2.2.3/ecore-change-2.2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-xmi/2.2.3/ecore-xmi-2.2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0-M1/geronimo-activation_1.1_spec-1.0-M1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-common/1.2-beta/geronimo-common-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-commonj_1.1_spec/1.0/geronimo-commonj_1.1_spec-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-core/1.2-beta/geronimo-core-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-deployment/1.2-beta/geronimo-deployment-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0/geronimo-ejb_3.0_spec-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-interceptor/1.2-beta/geronimo-interceptor-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-j2ee/1.2-beta/geronimo-j2ee-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1/geronimo-j2ee-connector_1.5_spec-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-j2ee-jacc_1.0_spec/1.1/geronimo-j2ee-jacc_1.0_spec-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-j2ee-management_1.0_spec/1.1/geronimo-j2ee-management_1.0_spec-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.0-M1/geronimo-javamail_1.4_spec-1.0-M1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1/geronimo-jms_1.1_spec-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-jpa_3.0_spec/1.0/geronimo-jpa_3.0_spec-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.0/geronimo-jta_1.0.1B_spec-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-kernel/1.2-beta/geronimo-kernel-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-management/1.2-beta/geronimo-management-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-naming/1.2-beta/geronimo-naming-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-security/1.2-beta/geronimo-security-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/geronimo-spec/geronimo-spec-j2ee-connector/1.5-rc4/geronimo-spec-j2ee-connector-1.5-rc4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/geronimo-spec/geronimo-spec-jta/1.0.1B-rc4/geronimo-spec-jta-1.0.1B-rc4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-system/1.2-beta/geronimo-system-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/modules/geronimo-util/1.2-beta/geronimo-util-1.2-beta.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/objectweb/howl/howl/1.0.1-1/howl-1.0.1-1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore/4.0-alpha5/httpcore-4.0-alpha5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore-nio/4.0-alpha5/httpcore-nio-4.0-alpha5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore-niossl/4.0-alpha5/httpcore-niossl-4.0-alpha5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/java/dev/javacc/javacc/3.2/javacc-3.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/sun/xml/bind/jaxb-impl/2.1.5/jaxb-impl-2.1.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/sun/xml/bind/jaxb-xjc/2.1.5/jaxb-xjc-2.1.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jvnet/jaxb/reflection/jaxb2-reflection/2.1.4/jaxb2-reflection-2.1.4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/xml/ws/jaxws-api/2.1/jaxws-api-2.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/jws/jsr181-api/1.0-MR1/jsr181-api-1.0-MR1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/>
+ <classpathentry kind="var" path="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/mail/mail/1.4/mail-1.4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/neethi/neethi/2.0.2/neethi-2.0.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-api/1.1/ode-bpel-api-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-compiler/1.1/ode-bpel-compiler-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-dao/1.1/ode-bpel-dao-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-epr/1.1/ode-bpel-epr-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-obj/1.1/ode-bpel-obj-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-runtime/1.1/ode-bpel-runtime-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-schemas/1.1/ode-bpel-schemas-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-bpel-store/1.1/ode-bpel-store-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-dao-jpa/1.1/ode-dao-jpa-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-jacob/1.1/ode-jacob-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-jacob-ap/1.1/ode-jacob-ap-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-scheduler-simple/1.1/ode-scheduler-simple-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ode/ode-utils/1.1/ode-utils-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/openjpa/openjpa-all/0.9.7-incubating/openjpa-all-0.9.7-incubating.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/openjpa/openjpa-persistence/0.9.7-incubating/openjpa-persistence-0.9.7-incubating.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/felix/org.apache.felix.bundlerepository/1.0.0/org.apache.felix.bundlerepository-1.0.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/felix/org.apache.felix.framework/1.0.1/org.apache.felix.framework-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/felix/org.apache.felix.main/1.0.1/org.apache.felix.main-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/felix/org.apache.felix.shell/1.0.0/org.apache.felix.shell-1.0.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/felix/org.apache.felix.shell.tui/1.0.0/org.apache.felix.shell.tui-1.0.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/regexp/regexp/1.3/regexp-1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sf/saxon/saxon/8.7/saxon-8.7.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sf/saxon/saxon-dom/8.7/saxon-dom-8.7.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sf/saxon/saxon-xpath/8.7/saxon-xpath-8.7.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sourceforge/serp/serp/1.12.0/serp-1.12.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/tranql/tranql-connector/1.1/tranql-connector-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/tuscany/sdo/tuscany-sdo-api-r2.1/1.1-incubating/tuscany-sdo-api-r2.1-1.1-incubating.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/tuscany/sdo/tuscany-sdo-impl/1.1-incubating/tuscany-sdo-impl-1.1-incubating.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/tuscany/sdo/tuscany-sdo-lib/1.1-incubating/tuscany-sdo-lib-1.1-incubating.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/tuscany/sdo/tuscany-sdo-tools/1.1-incubating/tuscany-sdo-tools-1.1-incubating.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M7b.jar"/>
+ <classpathentry kind="var" path="M2_REPO/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xalan/xalan/2.7.0/xalan-2.7.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/xbean/xbean-naming/2.7/xbean-naming-2.7.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xml-resolver/xml-resolver/1.1/xml-resolver-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ws/commons/schema/XmlSchema/1.3.2/XmlSchema-1.3.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/xsd/2.2.3/xsd-2.2.3.jar"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-assembly"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-assembly-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-assembly-xsd"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-binding-sca"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-binding-sca-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-contribution"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-contribution-impl"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-contribution-java"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-contribution-namespace"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-contribution-resource"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-contribution-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-core"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-core-databinding"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-core-spi"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-databinding"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-databinding-jaxb"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-databinding-sdo"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-definitions"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-definitions-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-domain"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-domain-api"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-extensibility"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-host-embedded"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-implementation-java"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-implementation-java-runtime"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-implementation-java-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-interface"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-interface-java"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-interface-java-jaxws"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-interface-java-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-interface-wsdl"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-interface-wsdl-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-monitor"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-node"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-node-api"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-policy"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-policy-xml"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-sca-api"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-binding-ws-axis2"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-binding-ws-xml"/>
+ <classpathentry kind="lib" path="ODEDB"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-implementation-bpel"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/tuscany-implementation-bpel-ode"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/JUnit"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.project
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.project?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.project (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.project Sat May 17 05:37:59 2008
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>sample-helloworld-bpel-ws</name>
+ <comment>Parent POM defining settings that can be used across Tuscany</comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+ <linkedResources>
+ <link>
+ <name>ODEDB</name>
+ <type>2</type>
+ <location>C:/Temp/ODEDB</location>
+ </link>
+ </linkedResources>
+</projectDescription>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.settings/org.eclipse.jdt.core.prefs?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.settings/org.eclipse.jdt.core.prefs (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/.settings/org.eclipse.jdt.core.prefs Sat May 17 05:37:59 2008
@@ -0,0 +1,5 @@
+#Fri May 02 22:00:53 BST 2008
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/README?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/README (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/README Sat May 17 05:37:59 2008
@@ -0,0 +1,151 @@
+Hello World BPEL Webservices Sample
+======================================
+This sample demonstrates an SCA service implemented by a BPEL process, made available as a Web service.
+
+The README in the samples directory (the directory above this) provides
+general instructions about building and running samples. Take a look there
+first.
+
+If you just want to run it to see what happens open a command prompt, navigate
+to this sample directory, and do
+
+ant compile run
+
+OR if you don't have ant, on Windows do
+
+mkdir target\classes
+mkdir target\wsdl2java-source
+java -cp ..\..\lib\tuscany-sca-manifest.jar org.apache.tuscany.sdo.generate.XSD2JavaGenerator -targetDirectory target/wsdl2java-source -prefix HelloWorld -noContainment -noUnsettable src/main/resources/helloworld.wsdl
+java -cp ..\..\lib\tuscany-sca-manifest.jar org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator -targetDirectory target/wsdl2java-source src/main/resources/helloworld.wsdl
+unzip ..\..\lib\ode-dao-jpa-ojpa-derby-1.1.zip -d target\database
+javac -d target\classes -cp target\classes;..\..\lib\tuscany-sca-manifest.jar -sourcepath src\main\java;target\wsdl2java-source -target 1.5 -g -source 1.5 src\main\java\helloworld\BPELClient.java
+copy src\main\resources\* target\classes
+java -cp ..\..\lib\tuscany-sca-manifest.jar;target\classes;target\database helloworld.BPELClient
+
+and on *nix do
+
+mkdir target/classes
+mkdir target/wsdl2java-source
+java -cp ../../lib/tuscany-sca-manifest.jar org.apache.tuscany.sdo.generate.XSD2JavaGenerator -targetDirectory target/wsdl2java-source -prefix HelloWorld -noContainment -noUnsettable src/main/resources/helloworld.wsdl
+java -cp ../../lib/tuscany-sca-manifest.jar org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator -targetDirectory target/wsdl2java-source src/main/resources/helloworld.wsdl
+unzip ../../lib/ode-dao-jpa-ojpa-derby-1.1.zip -d target/database
+javac -d target/classes -cp target/classes;../../lib/tuscany-sca-manifest.jar -sourcepath src/main/java;target/wsdl2java-source -target 1.5 -g -source 1.5 src/main/java/helloworld/BPELClient.java
+cp src/main/resources/* target/classes
+java -cp ../../lib/tuscany-sca-manifest.jar:target/classes:target/database helloworld.BPELClient
+
+The sample will start an embedded BPEL engine, deploy a process and invoke it.
+
+Sample Overview
+---------------
+The sample provides a single component that is wired to a service with a
+web service binding.
+
+helloworld-bpel/
+ src/
+ main/
+ java/
+ helloworld/
+ BPELClient.java - client application for
+ BEPELHelloWorldComponent
+
+ resources/
+ deploy.xml - ODE deployment descriptor
+ helloworld.bpel - helloworld bpel process
+ helloworld.componentType - helloworld bpel service description
+ helloworld.composite - the SCA assembly for this sample
+ helloworld.wsdl - the service description that describes
+ the bpel process
+ log4j.properties - logging configuration
+
+ test/
+ java/
+ helloworld/
+ BPELHelloWorldTestCase.java - JUnit test case
+ helloworld-bpel.png - a pictorial representation of the
+ sample .composite file
+ build.xml - the Ant build file
+ pom.xml - the Maven build file
+
+Building And Running The Sample Using Ant
+-----------------------------------------
+
+With the binary distribution the sample can be built and run using Ant as
+follows
+
+cd helloworld-bpel
+ant compile
+ant run
+
+
+You should see the following output from the run target.
+
+run:
+ [java] Starting BPELHelloWorldComponent
+ [java] >>> Deploying : D:\temp\SCA1.1-RC1\tuscany-sca-1.1-incubating\samples\helloworld-bpel\target\classes
+ [java] ::arg:::::: <?xml version="1.0" encoding="UTF-8"?>
+ [java] <hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message xmlns="http://tuscany.apache.org/implementation/bpel/exampl
+e/helloworld.wsdl">Hello</message></hello>
+ [java] ::message:: <?xml version="1.0" encoding="UTF-8"?>
+ [java] <message><TestPart><hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message xmlns="http://tuscany.apache.org/impleme
+ntation/bpel/example/helloworld.wsdl">Hello</message></hello></TestPart></message>
+ [java] Status: RESPONSE
+ [java] Response: <?xml version="1.0" encoding="UTF-8"?>
+ [java] <message><TestPart><hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello World</hello></TestPart></message>
+ [java] Hello World
+ [java] Stopping BPELHelloWorldComponent
+ [java] Stopped !!!
+
+BUILD SUCCESSFUL
+Total time: 36 seconds
+
+Building And Running The Sample Using Maven
+-------------------------------------------
+With either the binary or source distributions the sample can be built and run
+using Maven as follows. When using Maven, a simple test is present that exercise
+the same logic as the client to invoke the BPEl process.
+
+cd helloworld-bpel
+mvn
+
+You should see the following output from the test phase.
+
+-
+
+-------------------------------------------------------
+ T E S T S
+-------------------------------------------------------
+Running helloworld.BPELHelloWorldTestCase
+Starting BPELHelloWorldComponent
+>>> Deploying : D:\dev\Opensource\Apache\Tuscany\source\java-sca-1.1\samples\helloworld-bpel\target\classes
+::arg:::::: <?xml version="1.0" encoding="UTF-8"?>
+<hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld
+.wsdl">Hello</message></hello>
+::message:: <?xml version="1.0" encoding="UTF-8"?>
+<message><TestPart><hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message xmlns="http://tuscany.apache.org/implementation/bpel
+/example/helloworld.wsdl">Hello</message></hello></TestPart></message>
+Status: RESPONSE
+Response: <?xml version="1.0" encoding="UTF-8"?>
+<message><TestPart><hello xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello World</hello></TestPart></message>
+Stopping BPELHelloWorldComponent
+Stopped !!!
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.656 sec
+
+Results :
+
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
+
+[INFO] [jar:jar]
+[INFO] Building jar: D:\dev\Opensource\Apache\Tuscany\source\java-sca-1.1\samples\helloworld-bpel\target\sample-helloworld-bpel.jar
+[INFO] [install:install]
+[INFO] Installing D:\dev\Opensource\Apache\Tuscany\source\java-sca-1.1\samples\helloworld-bpel\target\sample-helloworld-bpel.jar to C:\Documents and Settings\lresend
+e\.m2\repository\org\apache\tuscany\sca\sample-helloworld-bpel\1.1-incubating-SNAPSHOT\sample-helloworld-bpel-1.1-incubating-SNAPSHOT.jar
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESSFUL
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 53 seconds
+[INFO] Finished at: Sun Jan 13 09:54:39 PST 2008
+[INFO] Final Memory: 24M/43M
+[INFO] ------------------------------------------------------------------------
+
+
+This shows that the Junit test cases have run successfully.
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/build.xml?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/build.xml (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/build.xml Sat May 17 05:37:59 2008
@@ -0,0 +1,95 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project name="sample-helloworld-bpel" default="compile">
+ <property name="test.class" value="helloworld.BPELClient" />
+ <property name="test.jar" value="sample-helloworld-bpel.jar" />
+ <property name="manifest.jar" value="../../lib/tuscany-sca-manifest.jar" />
+
+ <target name="init">
+ <mkdir dir="target/classes"/>
+ <mkdir dir="target/wsdl2java-source"/>
+ </target>
+
+ <target name="generate-wsdl" depends="init">
+ <java classname="org.apache.tuscany.sdo.generate.XSD2JavaGenerator" fork="true">
+ <arg value="-targetDirectory"/>
+ <arg value="target/wsdl2java-source"/>
+ <arg value="-prefix"/>
+ <arg value="HelloWorld"/>
+ <arg value="-noContainment"/>
+ <arg value="-noUnsettable"/>
+ <arg value="src/main/resources/helloworld.wsdl"/>
+
+ <classpath>
+ <pathelement location="${manifest.jar}"/>
+ </classpath>
+ </java>
+
+ <java classname="org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator" fork="true">
+ <arg value="-targetDirectory"/>
+ <arg value="target/wsdl2java-source"/>
+ <arg value="src/main/resources/helloworld.wsdl"/>
+
+ <classpath>
+ <pathelement location="${manifest.jar}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="unzip-ode-db" depends="init">
+ <unzip src="../../lib/ode-dao-jpa-ojpa-derby-1.1.zip" dest="target/database"/>
+ </target>
+
+ <target name="compile" depends="init,generate-wsdl,unzip-ode-db">
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src/main/java"/>
+ <src path="target/wsdl2java-source"/>
+ <classpath>
+ <pathelement location="${manifest.jar}"/>
+ </classpath>
+ </javac>
+ <copy todir="target/classes">
+ <fileset dir="src/main/resources"/>
+ </copy>
+ <jar destfile="target/${test.jar}" basedir="target/classes">
+ <manifest>
+ <attribute name="Main-Class" value="${test.class}" />
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="run">
+ <java classname="${test.class}" fork="true">
+ <!-- jvmarg value="-Xdebug"/ -->
+ <!-- jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"/ -->
+ <classpath>
+ <pathelement location="target/classes"/>
+ <pathelement location="target/database"/>
+ <pathelement location="${manifest.jar}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.png
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.png?rev=657347&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.svg
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.svg?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.svg (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/helloworld-bpel.svg Sat May 17 05:37:59 2008
@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="1052.3622"
+ height="744.09448"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="0.45.1"
+ sodipodi:docbase="C:\simon\tuscany\java-panic\sca\samples\helloworld-bpel"
+ sodipodi:docname="helloworld-bpel.svg"
+ version="1.0"
+ inkscape:export-filename="C:\simon\tuscany\java-panic\sca\samples\helloworld-bpel\helloworld-bpel.png"
+ inkscape:export-xdpi="52.84"
+ inkscape:export-ydpi="52.84"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ gridtolerance="10000"
+ guidetolerance="10"
+ objecttolerance="10"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.4"
+ inkscape:cx="519.38407"
+ inkscape:cy="414.63224"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ inkscape:window-width="1141"
+ inkscape:window-height="676"
+ inkscape:window-x="360"
+ inkscape:window-y="147" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <g
+ id="g2997"
+ transform="matrix(0.991389,0,0,1,2.215655,0)">
+ <rect
+ rx="13.79423"
+ ry="12.692303"
+ y="192.00233"
+ x="258.3114"
+ height="299.99988"
+ width="446.72086"
+ id="rect2067"
+ style="opacity:1;fill:#90baf4;fill-opacity:1;stroke:#060000;stroke-width:2.00866628;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
+ <flowRoot
+ id="flowRoot2954"
+ xml:space="preserve"><flowRegion
+ id="flowRegion2956"><rect
+ y="212.66591"
+ x="281.42856"
+ height="61.42857"
+ width="170"
+ id="rect2958" /></flowRegion><flowPara
+ id="flowPara2960">helloworldws</flowPara></flowRoot> </g>
+ <rect
+ style="fill:#317fed;fill-opacity:1;stroke:#060000;stroke-width:2.77353811;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="rect2988"
+ width="137.03178"
+ height="139.37514"
+ x="433.16025"
+ y="308.26868"
+ rx="8.2887468"
+ ry="11.562291" />
+ <flowRoot
+ xml:space="preserve"
+ id="flowRoot2966"
+ transform="translate(183.89697,109.51481)"><flowRegion
+ id="flowRegion2968"><rect
+ id="rect2970"
+ width="170"
+ height="61.42857"
+ x="281.42856"
+ y="212.66591" /></flowRegion><flowPara
+ id="flowPara2972">HelloWorld</flowPara><flowPara
+ id="flowPara1883">Service</flowPara><flowPara
+ id="flowPara1885">Component</flowPara></flowRoot> <path
+ style="fill:#5b9d05;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 414.90867,339.0146 L 448.24371,339.0146 L 454.30462,352.14658 L 447.23356,364.26842 L 414.90867,364.26842 L 422.48482,352.14658 L 414.90867,339.0146 z "
+ id="path3017" />
+ <path
+ style="fill:#5b9d05;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 226.73064,320.75315 L 293.91185,320.75315 L 306.1266,352.82797 L 291.87606,382.43553 L 226.73064,382.43553 L 241.99911,352.82797 L 226.73064,320.75315 z "
+ id="path1892" />
+ <flowRoot
+ xml:space="preserve"
+ id="flowRoot1894"
+ transform="translate(-37.47944,122.8324)"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:Bitstream Vera Sans"><flowRegion
+ id="flowRegion1896"><rect
+ id="rect1898"
+ width="170"
+ height="61.42857"
+ x="281.42856"
+ y="212.66591"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:Bitstream Vera Sans" /></flowRegion><flowPara
+ id="flowPara1900">HelloWorld</flowPara><flowPara
+ id="flowPara1906">Web</flowPara><flowPara
+ id="flowPara1904">Service</flowPara></flowRoot> <path
+ style="fill:none;fill-rule:evenodd;stroke:black;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 305.71429,353.3802 L 422.85714,351.95163"
+ id="path1910"
+ inkscape:export-filename="C:\simon\Projects\Tuscany\java\java-head\sca\samples\helloworld-ws-service\helloworld-ws-service.png"
+ inkscape:export-xdpi="52.84"
+ inkscape:export-ydpi="52.84" />
+ <rect
+ style="opacity:1;fill:#e4a637;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.03563392;stroke-miterlimit:4;stroke-dasharray:6.21380369, 1.03563395;stroke-dashoffset:0;stroke-opacity:1"
+ id="rect2179"
+ width="107.35972"
+ height="30.216856"
+ x="454.17728"
+ y="404.70035"
+ rx="1.1482089"
+ ry="1.0659764" />
+ <flowRoot
+ xml:space="preserve"
+ id="flowRoot3152"
+ transform="matrix(0.8110318,0,0,0.9349147,74.607827,34.581873)"><flowRegion
+ id="flowRegion3154"><rect
+ id="rect3156"
+ width="114.28571"
+ height="12.857142"
+ x="450.71429"
+ y="376.23734" /></flowRegion><flowPara
+ id="flowPara3158">implementation.bpel</flowPara></flowRoot> <text
+ xml:space="preserve"
+ style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
+ x="466.42856"
+ y="423.38019"
+ id="text3160"><tspan
+ sodipodi:role="line"
+ id="tspan3162"
+ x="466.42856"
+ y="423.38019">helloworld.bpel</tspan></text>
+ </g>
+</svg>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/pom.xml?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/pom.xml (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/pom.xml Sat May 17 05:37:59 2008
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca</artifactId>
+ <version>2.0-incubating-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <artifactId>sample-helloworld-bpel-ws</artifactId>
+ <name>Apache Tuscany SCA HelloWorld BPEL as Webservice Sample</name>
+
+ <repositories>
+ <repository>
+ <id>apache.incubator</id>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ </repository>
+ </repositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-host-embedded</artifactId>
+ <version>2.0-incubating-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <version>2.0-incubating-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-implementation-bpel</artifactId>
+ <version>2.0-incubating-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sdo</groupId>
+ <artifactId>tuscany-sdo-impl</artifactId>
+ <version>1.1-incubating</version>
+ </dependency>
+
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.8.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.2</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- dependencies that must be present in order that the build scripts work -->
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-wsdl2java</artifactId>
+ <version>2.0-incubating-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sdo</groupId>
+ <artifactId>tuscany-sdo-tools</artifactId>
+ <version>1.1-incubating</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ <version>3.2.1</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.1.5</version>
+ <scope>compile</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.xml.stream</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <!-- http://jira.codehaus.org/browse/SUREFIRE-322 -->
+ <version>2.3.1</version>
+ <configuration>
+ <useFile>false</useFile>
+ <trimStackTrace>false</trimStackTrace>
+ <useSystemClassLoader>true</useSystemClassLoader>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-dao-jpa-ojpa-derby</artifactId>
+ <version>1.1</version>
+ <type>zip</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>${project.build.directory}/test-classes/</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tuscany.sdo</groupId>
+ <artifactId>tuscany-sdo-plugin</artifactId>
+ <version>1.1-incubating</version>
+ <executions>
+ <execution>
+ <id>generate-bpel-helloworld</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <schemaFile>${basedir}/src/main/resources/helloworld.wsdl</schemaFile>
+ <targetDirectory>${basedir}/target/wsdl2java-source</targetDirectory>
+ <prefix>HelloWorld</prefix>
+ <noNotification>true</noNotification>
+ <noContainer>true</noContainer>
+ <noUnsettable>true</noUnsettable>
+ </configuration>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-maven-wsdl2java</artifactId>
+ <version>2.0-incubating-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <configuration>
+ <wsdlFile>${basedir}/src/main/resources/helloworld.wsdl</wsdlFile>
+ </configuration>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/java/helloworld/BPELClient.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/java/helloworld/BPELClient.java?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/java/helloworld/BPELClient.java (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/java/helloworld/BPELClient.java Sat May 17 05:37:59 2008
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package helloworld;
+
+import org.apache.tuscany.implementation.bpel.example.helloworld.HelloPortType;
+import org.apache.tuscany.sca.host.embedded.SCADomain;
+
+/**
+ * Simple BPEL sample application invoking a helloworld
+ *
+ * @version $Rev: 613905 $ $Date: 2008-01-21 14:41:15 +0000 (Mon, 21 Jan 2008) $
+ */
+public class BPELClient {
+ public static void main(String[] args) throws Exception {
+
+ SCADomain scaDomain = SCADomain.newInstance("helloworld.composite");
+ HelloPortType bpelService = scaDomain.getService(HelloPortType.class, "BPELHelloWorldComponent");
+
+ String result = bpelService.hello("Hello");
+ System.out.println(result);
+
+ scaDomain.close();
+
+ System.exit(0);
+ }
+}
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/deploy.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/deploy.xml?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/deploy.xml (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/deploy.xml Sat May 17 05:37:59 2008
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
+ xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/helloworld"
+ xmlns:wns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
+ xmlns:tus="http://tuscany.apache.org">
+
+
+ <process name="tns:HelloWorld">
+ <active>true</active>
+ <provide partnerLink="helloPartnerLink">
+ <service name="tus:helloPartnerLink" port="HelloPort"/>
+ </provide>
+ </process>
+</deploy>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.bpel
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.bpel?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.bpel (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.bpel Sat May 17 05:37:59 2008
@@ -0,0 +1,66 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<process name="HelloWorld"
+ targetNamespace="http://tuscany.apache.org/implementation/bpel/example/helloworld"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/helloworld"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:test="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+ <import location="helloworld.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"
+ namespace="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"/>
+
+ <partnerLinks>
+ <partnerLink name="helloPartnerLink" partnerLinkType="test:HelloPartnerLinkType" myRole="me" />
+ </partnerLinks>
+
+ <variables>
+ <variable name="myVar" messageType="test:HelloMessage"/>
+ <variable name="tmpVar" type="xsd:string"/>
+ </variables>
+
+ <sequence>
+ <receive
+ name="start"
+ partnerLink="helloPartnerLink"
+ portType="test:HelloPortType"
+ operation="hello"
+ variable="myVar"
+ createInstance="yes"/>
+
+ <assign name="assign1">
+ <copy>
+ <from variable="myVar" part="TestPart"/>
+ <to variable="tmpVar"/>
+ </copy>
+ <copy>
+ <from>concat($tmpVar,' World')</from>
+ <to variable="myVar" part="TestPart"/>
+ </copy>
+ </assign>
+ <reply name="end"
+ partnerLink="helloPartnerLink"
+ portType="test:HelloPortType"
+ operation="hello"
+ variable="myVar"/>
+ </sequence>
+</process>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.componentType
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.componentType?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.componentType (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.componentType Sat May 17 05:37:59 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <service name="helloPartnerLink">
+ <interface.wsdl interface="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl#wsdl.interface(HelloPortType)" />
+ </service>
+
+</componentType>
+
\ No newline at end of file
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.composite?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.composite (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.composite Sat May 17 05:37:59 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ targetNamespace="http://bpel"
+ xmlns:hns="http://tuscany.apache.org/implementation/bpel/example/helloworld"
+ name="bpel">
+
+ <component name="BPELHelloWorldComponent">
+ <implementation.bpel process="hns:HelloWorld"/>
+ <service name="helloPartnerLink">
+ <interface.wsdl interface="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl#wsdl.interface(HelloPortType)" />
+ <binding.ws />
+ </service>
+ </component>
+
+</composite>
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.wsdl?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.wsdl (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/helloworld.wsdl Sat May 17 05:37:59 2008
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<wsdl:definitions
+ targetNamespace="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:tns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
+ xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/">
+
+ <wsdl:types>
+ <schema elementFormDefault="qualified"
+ targetNamespace="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"
+ xmlns="http://www.w3.org/2001/XMLSchema">
+
+ <element name="hello">
+ <complexType>
+ <sequence>
+ <element name="message" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="HelloMessage">
+ <wsdl:part element="tns:hello" name="TestPart"/>
+ </wsdl:message>
+
+ <wsdl:portType name="HelloPortType">
+ <wsdl:operation name="hello">
+ <wsdl:input message="tns:HelloMessage" name="TestIn"/>
+ <wsdl:output message="tns:HelloMessage" name="TestOut"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+
+ <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType">
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="hello">
+ <wsdlsoap:operation soapAction=""/>
+ <wsdl:input name="TestIn">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="TestOut">
+ <wsdlsoap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="HelloService">
+ <wsdl:port name="HelloPort" binding="tns:HelloSoapBinding">
+ <soap:address location="http://localhost:8085/ode/processes/helloWorld"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="HelloPartnerLinkType">
+ <plnk:role name="me" portType="tns:HelloPortType"/>
+ <plnk:role name="you" portType="tns:HelloPortType"/>
+ </plnk:partnerLinkType>
+</wsdl:definitions>
\ No newline at end of file
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/log4j.properties?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/log4j.properties (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/main/resources/log4j.properties Sat May 17 05:37:59 2008
@@ -0,0 +1,35 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Set root logger level to WARN and its only appender to CONSOLE
+log4j.rootLogger=OFF, CONSOLE
+
+# log4j properties to work with commandline tools.
+log4j.category.org.mortbay=OFF
+log4j.category.org.hibernate.type=OFF
+log4j.category.org.objectweb=OFF
+log4j.category.org.apache.ode.sql=OFF
+log4j.category.org.apache.ode.axis2=OFF
+log4j.category.org.apache.ode.bpel.engine=OFF
+log4j.category.org.apache.ode.daohib.bpel.CorrelatorDaoImpl=OFF
+log4j.category.org.apache.ode.bpel.epr=OFF
+log4j.category.org.apache.openjpa.kernel=OFF
+
+# Console appender
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%p - %C{1}.%M(%L) | %m%n
\ No newline at end of file
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/java/helloworld/BPELHelloWorldTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/java/helloworld/BPELHelloWorldTestCase.java?rev=657347&view=auto
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/java/helloworld/BPELHelloWorldTestCase.java (added)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel-ws/src/test/java/helloworld/BPELHelloWorldTestCase.java Sat May 17 05:37:59 2008
@@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package helloworld;
+
+import junit.framework.TestCase;
+
+import org.apache.tuscany.implementation.bpel.example.helloworld.HelloPortType;
+import org.apache.tuscany.sca.host.embedded.SCADomain;
+
+/**
+ * Tests the BPEL service
+ *
+ * @version $Rev: 636807 $ $Date: 2008-03-13 17:32:45 +0000 (Thu, 13 Mar 2008) $
+ */
+public class BPELHelloWorldTestCase extends TestCase {
+
+ private SCADomain scaDomain;
+ HelloPortType bpelService = null;
+
+ /**
+ * @throws java.lang.Exception
+ */
+ @Override
+ protected void setUp() throws Exception {
+ scaDomain = SCADomain.newInstance("helloworld.composite");
+ bpelService = scaDomain.getService(HelloPortType.class, "BPELHelloWorldComponent");
+
+ }
+
+ /**
+ * @throws java.lang.Exception
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ scaDomain.close();
+ }
+
+ public void testInvoke() throws Exception {
+ String response = bpelService.hello("Hello");
+ assertEquals("Hello World", response);
+ }
+}
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/classes/helloworld.cbp
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/classes/helloworld.cbp?rev=657347&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/classes/helloworld.cbp
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/dependency-maven-plugin-markers/org.apache.ode-ode-dao-jpa-ojpa-derby-zip-1.1.marker
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/target/dependency-maven-plugin-markers/org.apache.ode-ode-dao-jpa-ojpa-derby-zip-1.1.marker?rev=657347&view=auto
==============================================================================
(empty)