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/06/12 09:56:40 UTC

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

Author: lresende
Date: Fri Jun 12 07:56:39 2009
New Revision: 784024

URL: http://svn.apache.org/viewvc?rev=784024&view=rev
Log:
Updating BPEL and WSDL to properly work with wsImport and not generate Holder style interfaces

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

Modified: tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel?rev=784024&r1=784023&r2=784024&view=diff
==============================================================================
--- tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel (original)
+++ tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel Fri Jun 12 07:56:39 2009
@@ -24,7 +24,7 @@
     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">
+    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://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"/>
@@ -35,6 +35,7 @@
     
    <variables>
      <variable name="helloMessage" messageType="test:HelloMessage"/>
+     <variable name="helloMessageResponse" messageType="test:HelloMessageResponse"/>
      <variable name="tmpVar" type="xsd:string"/>
    </variables>
 
@@ -54,13 +55,13 @@
           </copy>
           <copy>
               <from>concat($tmpVar,' World')</from>
-              <to variable="helloMessage" part="TestPart"/>
+              <to variable="helloMessageResponse" part="TestResponse"/>
           </copy>
       </assign>
        <reply name="end"  
               partnerLink="helloPartnerLink"
               portType="test:HelloPortType" 
               operation="hello"
-              variable="helloMessage"/>
+              variable="helloMessageResponse"/>
    </sequence>
 </process>

Modified: tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl?rev=784024&r1=784023&r2=784024&view=diff
==============================================================================
--- tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl (original)
+++ tuscany/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl Fri Jun 12 07:56:39 2009
@@ -56,14 +56,14 @@
         <wsdl:part element="tns:hello" name="TestPart"/>
     </wsdl:message>
     
-    <wsdl:message name="HelloResponse">
+    <wsdl:message name="HelloMessageResponse">
         <wsdl:part element="tns:helloResponse" name="TestResponse"/>
     </wsdl:message>
     
     <wsdl:portType name="HelloPortType">
         <wsdl:operation name="hello">
             <wsdl:input message="tns:HelloMessage" name="TestIn"/>
-            <wsdl:output message="tns:HelloResponse" name="TestOut"/>
+            <wsdl:output message="tns:HelloMessageResponse" name="TestOut"/>
         </wsdl:operation>    
     </wsdl:portType>