summaryrefslogtreecommitdiffstats
path: root/java/sca/itest
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-06-12 07:56:39 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-06-12 07:56:39 +0000
commit5a356c409f46f24dec68f4465a1389ae905cff9b (patch)
treea2289160dc39c29b1466a17af78874498b3e5b1e /java/sca/itest
parente98a5f3a104686af6c1acff9a88ac037dad827e2 (diff)
Updating BPEL and WSDL to properly work with wsImport and not generate Holder style interfaces
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784024 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest')
-rw-r--r--java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel7
-rw-r--r--java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl4
2 files changed, 6 insertions, 5 deletions
diff --git a/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel b/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
index 8cf91adc2c..4f689afd89 100644
--- a/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
+++ b/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.bpel
@@ -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>
diff --git a/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl b/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl
index 52c8b5b45f..c77318e8fd 100644
--- a/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl
+++ b/java/sca/itest/bpel/helloworld/src/test/resources/helloworld/helloworld.wsdl
@@ -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>