You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2009/07/02 17:07:07 UTC

svn commit: r790615 - in /tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld: helloworld.bpel helloworld.wsdl

Author: lresende
Date: Thu Jul  2 15:07:07 2009
New Revision: 790615

URL: http://svn.apache.org/viewvc?rev=790615&view=rev
Log:
Updating wsdl/bpel files to avoid generating java artifacts utilizing holder pattern

Modified:
    tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel
    tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl

Modified: tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel?rev=790615&r1=790614&r2=790615&view=diff
==============================================================================
--- tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel (original)
+++ tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.bpel Thu Jul  2 15:07:07 2009
@@ -25,7 +25,7 @@
     xmlns:helloworld="http://helloworld"
     xmlns:greetings="http://greetings"
     queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
-    expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+    expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
 
   <import location="helloworld.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"
      namespace="http://helloworld"/>
@@ -40,7 +40,7 @@
     
    <variables>
      <variable name="helloMessage" messageType="helloworld:HelloMessage"/>
-     <variable name="helloResponse" messageType="helloworld:HelloMessage"/>
+     <variable name="helloMessageResponse" messageType="helloworld:HelloMessageResponse"/>
      <variable name="greetingsRequest" messageType="greetings:getGreetingsRequest"/>
      <variable name="greetingsResponse" messageType="greetings:getGreetingsResponse"/>
    </variables>
@@ -71,7 +71,7 @@
        <assign name="assignToHelloResponse">
           <copy>
               <from>$greetingsResponse.parameters/greetings:getGreetingsReturn</from>
-              <to>$helloResponse.TestPart</to>
+              <to>$helloMessageResponse.TestPart</to>
           </copy>
        </assign>
 
@@ -79,6 +79,6 @@
               operation="hello"
               partnerLink="helloPartnerLink"
               portType="helloworld:HelloWorld" 
-              variable="helloResponse"/>
+              variable="helloMessageResponse"/>
    </sequence>
 </process>

Modified: tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl?rev=790615&r1=790614&r2=790615&view=diff
==============================================================================
--- tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl (original)
+++ tuscany/java/sca/itest/bpel/helloworld-reference/src/test/resources/helloworld/helloworld.wsdl Thu Jul  2 15:07:07 2009
@@ -33,25 +33,36 @@
         <schema elementFormDefault="qualified" 
            targetNamespace="http://helloworld" 
            xmlns="http://www.w3.org/2001/XMLSchema">
-
-            <element name="hello">
+           
+           <element name="hello">
                 <complexType>
                     <sequence>
                         <element name="message" type="xsd:string"/>
                     </sequence>
                 </complexType>
-            </element>            
-        </schema>
+            </element>
+            
+            <element name="helloResponse">
+                <complexType>
+                    <sequence>
+                        <element name="messageResponse" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>                          </schema>
     </wsdl:types>
     
     <wsdl:message name="HelloMessage">
         <wsdl:part element="tns:hello" name="TestPart"/>
     </wsdl:message>
     
+    <wsdl:message name="HelloMessageResponse">
+        <wsdl:part element="tns:helloResponse" name="TestResponse"/>
+    </wsdl:message>    
+    
     <wsdl:portType name="HelloWorld">
         <wsdl:operation name="hello">
             <wsdl:input message="tns:HelloMessage" name="TestIn"/>
-            <wsdl:output message="tns:HelloMessage" name="TestOut"/>
+            <wsdl:output message="tns:HelloMessageResponse" name="TestOut"/>
         </wsdl:operation>    
     </wsdl:portType>