diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-04 13:46:07 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-04 13:46:07 +0000 |
commit | e6593a2115e888d1f828b3bc3ae0d1bd954720c2 (patch) | |
tree | a0fe5433a642768b5fff3b832628386f12e38106 /sca-java-2.x/trunk/samples/getting-started/helloworld-bpel | |
parent | 7b2562998ac69d732009bb084f06856b615a8930 (diff) |
UPdates to try to get the bpel sample working
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1099445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/getting-started/helloworld-bpel')
3 files changed, 33 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml b/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml index 2333050b93..1ebb6432bb 100644 --- a/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml +++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml @@ -28,7 +28,7 @@ <relativePath>../../pom.xml</relativePath>
</parent>
- <packaging>zip</packaging>
+ <!-- packaging>zip</packaging -->
<artifactId>helloworld-bpel</artifactId>
<version>2.0-SNAPSHOT</version>
@@ -88,6 +88,33 @@ </dependency>
</dependencies>
</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>
+
</plugins>
</build>
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel b/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel index d58768adfa..ab31ee1d0b 100644 --- a/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel +++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel @@ -44,7 +44,7 @@ name="start"
partnerLink="helloPartnerLink"
portType="test:HelloPortType"
- operation="hello"
+ operation="sayHello"
variable="helloMessage"
createInstance="yes"/>
@@ -74,7 +74,7 @@ <reply name="end"
partnerLink="helloPartnerLink"
portType="test:HelloPortType"
- operation="hello"
+ operation="sayHello"
variable="helloMessageResponse"/>
</sequence>
</process>
diff --git a/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl b/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl index cf966264ef..a866d29f2d 100644 --- a/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl +++ b/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl @@ -61,7 +61,7 @@ </wsdl:message> <wsdl:portType name="HelloPortType"> - <wsdl:operation name="hello"> + <wsdl:operation name="sayHello"> <wsdl:input message="tns:HelloMessage" name="TestIn"/> <wsdl:output message="tns:HelloMessageResponse" name="TestOut"/> </wsdl:operation> @@ -70,7 +70,7 @@ <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="hello"> + <wsdl:operation name="sayHello"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="TestIn"> <wsdlsoap:body use="literal"/> @@ -91,4 +91,4 @@ <plnk:role name="me" portType="tns:HelloPortType"/> <plnk:role name="you" portType="tns:HelloPortType"/> </plnk:partnerLinkType> -</wsdl:definitions>
\ No newline at end of file +</wsdl:definitions> |