You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2011/05/04 15:46:07 UTC

svn commit: r1099445 - in /tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel: pom.xml src/main/resources/helloworld.bpel src/main/resources/helloworld.wsdl

Author: antelder
Date: Wed May  4 13:46:07 2011
New Revision: 1099445

URL: http://svn.apache.org/viewvc?rev=1099445&view=rev
Log:
UPdates to try to get the bpel sample working

Modified:
    tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml
    tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel
    tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl

Modified: tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml?rev=1099445&r1=1099444&r2=1099445&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/pom.xml Wed May  4 13:46:07 2011
@@ -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>

Modified: tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel?rev=1099445&r1=1099444&r2=1099445&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel (original)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.bpel Wed May  4 13:46:07 2011
@@ -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>

Modified: tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl?rev=1099445&r1=1099444&r2=1099445&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl (original)
+++ tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-bpel/src/main/resources/helloworld.wsdl Wed May  4 13:46:07 2011
@@ -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>