You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2008/05/23 01:26:18 UTC
svn commit: r659307 [13/24] - in /ode/trunk:
axis2-war/src/main/webapp/WEB-INF/ axis2-war/src/main/webapp/WEB-INF/classes/
axis2-war/src/test/resources/XSDReferences/
axis2-war/src/test/resources/XSDReferences/BPMN/
axis2-war/src/test/resources/XSDRefe...
Modified: ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.bpel (original)
+++ ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.bpel Thu May 22 16:25:57 2008
@@ -1,52 +1,52 @@
-<?xml version="1.0" encoding="utf-8"?>
-<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:Client="http://example.com/helloworld/Client" xmlns:this="http://example.com/helloworld/Server" xmlns:tns="http://www.example.org/message" xmlns:diag="http://example.com/helloworld" xmlns:bpmn="http://www.intalio.com/bpms" queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" bpmn:label="Server" bpmn:id="_eAYxsEo7EdyemZotQ08t3A" name="Server" targetNamespace="http://example.com/helloworld/Server">
- <bpel:import namespace="http://example.com/helloworld" location="helloworld.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <bpel:import namespace="http://example.com/helloworld/Server" location="helloworld-Server.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <bpel:import namespace="http://www.example.org/message" location="message.xsd" importType="http://www.w3.org/2001/XMLSchema"></bpel:import>
- <bpel:partnerLinks>
- <bpel:partnerLink name="serverAndClientPlkVar" partnerLinkType="diag:ServerAndClient" myRole="Server_for_Client"/>
- </bpel:partnerLinks>
- <bpel:variables>
- <bpel:variable name="thisReceiveRequestMsg" messageType="this:receiveRequest"/>
- <bpel:variable name="thisReceiveResponseMsg" messageType="this:receiveResponse"/>
- <bpel:variable name="Data" type="tns:Data"/>
- </bpel:variables>
- <bpel:sequence>
- <bpel:receive partnerLink="serverAndClientPlkVar" portType="this:ForClient" operation="receive" variable="thisReceiveRequestMsg" createInstance="yes" bpmn:label="receive" bpmn:id="_evn2QEo7EdyemZotQ08t3A"></bpel:receive>
- <bpel:assign name="init-variables-Server">
- <bpel:copy bpmn:label="$thisReceiveResponseMsg out:_gfFowEo7EdyemZotQ08t3A">
- <bpel:from>
- <bpel:literal>
-<this:receiveResponse>
-</this:receiveResponse>
- </bpel:literal>
- </bpel:from>
- <bpel:to>$thisReceiveResponseMsg.body</bpel:to>
- </bpel:copy>
- <bpel:copy bpmn:label="$Data">
- <bpel:from>
- <bpel:literal>
- </bpel:literal>
- </bpel:from>
- <bpel:to>$Data</bpel:to>
- </bpel:copy>
- </bpel:assign>
- <bpel:assign bpmn:label="invoke" bpmn:id="_FrsFcEpAEdySiIWBetfiFA">
- <bpel:copy>
- <bpel:from>"test"</bpel:from>
- <bpel:to>$Data/tns:Name</bpel:to>
- </bpel:copy>
- <bpel:copy>
- <bpel:from>"world"</bpel:from>
- <bpel:to>$Data/tns:Age</bpel:to>
- </bpel:copy>
- </bpel:assign>
- <bpel:assign bpmn:label="result" bpmn:id="_fz4IkEo7EdyemZotQ08t3A">
- <bpel:copy>
- <bpel:from>concat($Data/tns:Name, $Data/tns:Age)</bpel:from>
- <bpel:to>$thisReceiveResponseMsg.body</bpel:to>
- </bpel:copy>
- </bpel:assign>
- <bpel:reply partnerLink="serverAndClientPlkVar" portType="this:ForClient" operation="receive" variable="thisReceiveResponseMsg" bpmn:label="result" bpmn:id="_fz4IkEo7EdyemZotQ08t3A"></bpel:reply>
- </bpel:sequence>
+<?xml version="1.0" encoding="utf-8"?>
+<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:Client="http://example.com/helloworld/Client" xmlns:this="http://example.com/helloworld/Server" xmlns:tns="http://www.example.org/message" xmlns:diag="http://example.com/helloworld" xmlns:bpmn="http://www.intalio.com/bpms" queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" bpmn:label="Server" bpmn:id="_eAYxsEo7EdyemZotQ08t3A" name="Server" targetNamespace="http://example.com/helloworld/Server">
+ <bpel:import namespace="http://example.com/helloworld" location="helloworld.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <bpel:import namespace="http://example.com/helloworld/Server" location="helloworld-Server.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <bpel:import namespace="http://www.example.org/message" location="message.xsd" importType="http://www.w3.org/2001/XMLSchema"></bpel:import>
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="serverAndClientPlkVar" partnerLinkType="diag:ServerAndClient" myRole="Server_for_Client"/>
+ </bpel:partnerLinks>
+ <bpel:variables>
+ <bpel:variable name="thisReceiveRequestMsg" messageType="this:receiveRequest"/>
+ <bpel:variable name="thisReceiveResponseMsg" messageType="this:receiveResponse"/>
+ <bpel:variable name="Data" type="tns:Data"/>
+ </bpel:variables>
+ <bpel:sequence>
+ <bpel:receive partnerLink="serverAndClientPlkVar" portType="this:ForClient" operation="receive" variable="thisReceiveRequestMsg" createInstance="yes" bpmn:label="receive" bpmn:id="_evn2QEo7EdyemZotQ08t3A"></bpel:receive>
+ <bpel:assign name="init-variables-Server">
+ <bpel:copy bpmn:label="$thisReceiveResponseMsg out:_gfFowEo7EdyemZotQ08t3A">
+ <bpel:from>
+ <bpel:literal>
+<this:receiveResponse>
+</this:receiveResponse>
+ </bpel:literal>
+ </bpel:from>
+ <bpel:to>$thisReceiveResponseMsg.body</bpel:to>
+ </bpel:copy>
+ <bpel:copy bpmn:label="$Data">
+ <bpel:from>
+ <bpel:literal>
+ </bpel:literal>
+ </bpel:from>
+ <bpel:to>$Data</bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:assign bpmn:label="invoke" bpmn:id="_FrsFcEpAEdySiIWBetfiFA">
+ <bpel:copy>
+ <bpel:from>"test"</bpel:from>
+ <bpel:to>$Data/tns:Name</bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from>"world"</bpel:from>
+ <bpel:to>$Data/tns:Age</bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:assign bpmn:label="result" bpmn:id="_fz4IkEo7EdyemZotQ08t3A">
+ <bpel:copy>
+ <bpel:from>concat($Data/tns:Name, $Data/tns:Age)</bpel:from>
+ <bpel:to>$thisReceiveResponseMsg.body</bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply partnerLink="serverAndClientPlkVar" portType="this:ForClient" operation="receive" variable="thisReceiveResponseMsg" bpmn:label="result" bpmn:id="_fz4IkEo7EdyemZotQ08t3A"></bpel:reply>
+ </bpel:sequence>
</bpel:process>
\ No newline at end of file
Modified: ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.wsdl (original)
+++ ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld-Server.wsdl Thu May 22 16:25:57 2008
@@ -1,38 +1,38 @@
-<?xml version='1.0' encoding='utf-8'?>
-<wsdl:definitions xmlns:tns="http://www.example.org/message" xmlns:Client="http://example.com/helloworld/Client" xmlns:diag="http://example.com/helloworld" xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:this="http://example.com/helloworld/Server" targetNamespace="http://example.com/helloworld/Server">
- <wsdl:types>
- <xs:schema elementFormDefault="qualified" targetNamespace="http://example.com/helloworld/Server">
- <xs:element name="receiveRequest" type="xs:string"/>
- <xs:element name="receiveResponse" type="xs:string"/>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="receiveRequest">
- <wsdl:part name="body" element="this:receiveRequest"/>
- </wsdl:message>
- <wsdl:message name="receiveResponse">
- <wsdl:part name="body" element="this:receiveResponse"/>
- </wsdl:message>
- <wsdl:portType name="ForClient">
- <wsdl:operation name="receive">
- <wsdl:input message="this:receiveRequest" name="receive"/>
- <wsdl:output message="this:receiveResponse" name="receiveResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="CanonicBindingForClient" type="this:ForClient">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="receive">
- <soap:operation style="document" soapAction="http://example.com/helloworld/Server/ForClient/receive"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="CanonicServiceForClient">
- <wsdl:port name="canonicPort" binding="this:CanonicBindingForClient">
- <soap:address location="http://localhost:8080/ode/processes/HelloWorld/helloworld/Server/Client"/>
- </wsdl:port>
- </wsdl:service>
+<?xml version='1.0' encoding='utf-8'?>
+<wsdl:definitions xmlns:tns="http://www.example.org/message" xmlns:Client="http://example.com/helloworld/Client" xmlns:diag="http://example.com/helloworld" xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:this="http://example.com/helloworld/Server" targetNamespace="http://example.com/helloworld/Server">
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified" targetNamespace="http://example.com/helloworld/Server">
+ <xs:element name="receiveRequest" type="xs:string"/>
+ <xs:element name="receiveResponse" type="xs:string"/>
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="receiveRequest">
+ <wsdl:part name="body" element="this:receiveRequest"/>
+ </wsdl:message>
+ <wsdl:message name="receiveResponse">
+ <wsdl:part name="body" element="this:receiveResponse"/>
+ </wsdl:message>
+ <wsdl:portType name="ForClient">
+ <wsdl:operation name="receive">
+ <wsdl:input message="this:receiveRequest" name="receive"/>
+ <wsdl:output message="this:receiveResponse" name="receiveResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="CanonicBindingForClient" type="this:ForClient">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="receive">
+ <soap:operation style="document" soapAction="http://example.com/helloworld/Server/ForClient/receive"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="CanonicServiceForClient">
+ <wsdl:port name="canonicPort" binding="this:CanonicBindingForClient">
+ <soap:address location="http://localhost:8080/ode/processes/HelloWorld/helloworld/Server/Client"/>
+ </wsdl:port>
+ </wsdl:service>
</wsdl:definitions>
\ No newline at end of file
Modified: ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld.wsdl (original)
+++ ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/helloworld.wsdl Thu May 22 16:25:57 2008
@@ -1,7 +1,7 @@
-<?xml version='1.0' encoding='utf-8'?>
-<wsdl:definitions xmlns:tns="http://www.example.org/message" xmlns:bpdm="http://www.intalio/designer/business-process-data-modeling" xmlns:Client="http://example.com/helloworld/Client" xmlns:diag="http://example.com/helloworld" xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:Server="http://example.com/helloworld/Server" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://example.com/helloworld">
- <wsdl:import namespace="http://example.com/helloworld/Server" location="helloworld-Server.wsdl"/>
- <pnlk:partnerLinkType name="ServerAndClient">
- <pnlk:role name="Server_for_Client" portType="Server:ForClient"/>
- </pnlk:partnerLinkType>
+<?xml version='1.0' encoding='utf-8'?>
+<wsdl:definitions xmlns:tns="http://www.example.org/message" xmlns:bpdm="http://www.intalio/designer/business-process-data-modeling" xmlns:Client="http://example.com/helloworld/Client" xmlns:diag="http://example.com/helloworld" xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:Server="http://example.com/helloworld/Server" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://example.com/helloworld">
+ <wsdl:import namespace="http://example.com/helloworld/Server" location="helloworld-Server.wsdl"/>
+ <pnlk:partnerLinkType name="ServerAndClient">
+ <pnlk:role name="Server_for_Client" portType="Server:ForClient"/>
+ </pnlk:partnerLinkType>
</wsdl:definitions>
\ No newline at end of file
Modified: ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/message.xsd
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/message.xsd?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/message.xsd (original)
+++ ode/trunk/bpel-scripts/src/main/resources/2.0/good/xsd-import/message.xsd Thu May 22 16:25:57 2008
@@ -8,5 +8,5 @@
<element name="Name" type="string"></element>
<element name="Age" type="string"></element>
</sequence>
- </complexType>
+ </complexType>
</schema>
\ No newline at end of file
Modified: ode/trunk/bpel-test/src/main/java/org/apache/ode/test/MockExtensionContext.java
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/main/java/org/apache/ode/test/MockExtensionContext.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/main/java/org/apache/ode/test/MockExtensionContext.java (original)
+++ ode/trunk/bpel-test/src/main/java/org/apache/ode/test/MockExtensionContext.java Thu May 22 16:25:57 2008
@@ -1,111 +1,111 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.ode.test;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.ode.bpel.common.FaultException;
-import org.apache.ode.bpel.o.OActivity;
-import org.apache.ode.bpel.o.OLink;
-import org.apache.ode.bpel.o.OProcess.OProperty;
-import org.apache.ode.bpel.o.OScope.Variable;
-import org.apache.ode.bpel.runtime.BpelRuntimeContext;
-import org.apache.ode.bpel.runtime.extension.ExtensionContext;
-import org.apache.ode.utils.DOMUtils;
-import org.w3c.dom.Node;
-
-/**
- * Very simple mock implementation of the ExtensionContext interface.
- *
- * @author Tammo van Lessen (University of Stuttgart)
- */
-public class MockExtensionContext implements ExtensionContext {
- private Map<String, Node> variables = new HashMap<String, Node>();
- public boolean completed;
- public boolean faulted;
-
- public Map<String, Node> getVariables() {
- return variables;
- }
-
- public Long getProcessId() {
- return 0L;
- }
-
- public Node readVariable(String variableName) throws FaultException {
- System.out.println("Reading " + variableName);
- return variables.get(variableName);
- }
-
- public void writeVariable(String variableName, Node value)
- throws FaultException {
- variables.put(variableName, value);
- System.out.println("Storing in " + variableName + ": " + DOMUtils.domToString(value));
- }
-
- public String getActivityName() {
- return "mockActivity";
- }
-
- public OActivity getOActivity() {
- throw new UnsupportedOperationException("This method is not available in this mock implementation.");
- }
-
- public BpelRuntimeContext getBpelRuntimeContext() {
- throw new UnsupportedOperationException("This method is not available in this mock implementation.");
- }
-
- public Map<String, Variable> getVisibleVariables()
- throws FaultException {
- throw new UnsupportedOperationException("This method is not available in this mock implementation.");
- }
-
- public boolean isLinkActive(OLink olink) throws FaultException {
- throw new UnsupportedOperationException("This method is not available in this mock implementation.");
- }
-
- public String readMessageProperty(Variable variable, OProperty property)
- throws FaultException {
- throw new UnsupportedOperationException("This method is not available in this mock implementation.");
- }
-
- public Node readVariable(Variable variable) throws FaultException {
- throw new UnsupportedOperationException("This method is not available in this mock implementation.");
- }
-
- public void writeVariable(Variable variable, Node value) throws FaultException {
- throw new UnsupportedOperationException("This method is not available in this mock implementation.");
- }
-
- public void complete() {
- this.completed = true;
- }
-
- public void completeWithFault(Throwable t) {
- this.completed = true;
- this.faulted = true;
- }
-
- public void completeWithFault(FaultException fault) {
- this.completed = true;
- this.faulted = true;
- }
-
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ode.test;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.ode.bpel.common.FaultException;
+import org.apache.ode.bpel.o.OActivity;
+import org.apache.ode.bpel.o.OLink;
+import org.apache.ode.bpel.o.OProcess.OProperty;
+import org.apache.ode.bpel.o.OScope.Variable;
+import org.apache.ode.bpel.runtime.BpelRuntimeContext;
+import org.apache.ode.bpel.runtime.extension.ExtensionContext;
+import org.apache.ode.utils.DOMUtils;
+import org.w3c.dom.Node;
+
+/**
+ * Very simple mock implementation of the ExtensionContext interface.
+ *
+ * @author Tammo van Lessen (University of Stuttgart)
+ */
+public class MockExtensionContext implements ExtensionContext {
+ private Map<String, Node> variables = new HashMap<String, Node>();
+ public boolean completed;
+ public boolean faulted;
+
+ public Map<String, Node> getVariables() {
+ return variables;
+ }
+
+ public Long getProcessId() {
+ return 0L;
+ }
+
+ public Node readVariable(String variableName) throws FaultException {
+ System.out.println("Reading " + variableName);
+ return variables.get(variableName);
+ }
+
+ public void writeVariable(String variableName, Node value)
+ throws FaultException {
+ variables.put(variableName, value);
+ System.out.println("Storing in " + variableName + ": " + DOMUtils.domToString(value));
+ }
+
+ public String getActivityName() {
+ return "mockActivity";
+ }
+
+ public OActivity getOActivity() {
+ throw new UnsupportedOperationException("This method is not available in this mock implementation.");
+ }
+
+ public BpelRuntimeContext getBpelRuntimeContext() {
+ throw new UnsupportedOperationException("This method is not available in this mock implementation.");
+ }
+
+ public Map<String, Variable> getVisibleVariables()
+ throws FaultException {
+ throw new UnsupportedOperationException("This method is not available in this mock implementation.");
+ }
+
+ public boolean isLinkActive(OLink olink) throws FaultException {
+ throw new UnsupportedOperationException("This method is not available in this mock implementation.");
+ }
+
+ public String readMessageProperty(Variable variable, OProperty property)
+ throws FaultException {
+ throw new UnsupportedOperationException("This method is not available in this mock implementation.");
+ }
+
+ public Node readVariable(Variable variable) throws FaultException {
+ throw new UnsupportedOperationException("This method is not available in this mock implementation.");
+ }
+
+ public void writeVariable(Variable variable, Node value) throws FaultException {
+ throw new UnsupportedOperationException("This method is not available in this mock implementation.");
+ }
+
+ public void complete() {
+ this.completed = true;
+ }
+
+ public void completeWithFault(Throwable t) {
+ this.completed = true;
+ this.faulted = true;
+ }
+
+ public void completeWithFault(FaultException fault) {
+ this.completed = true;
+ this.faulted = true;
+ }
+
}
\ No newline at end of file
Modified: ode/trunk/bpel-test/src/main/java/org/apache/ode/test/PartnerRoleChannelImpl.java
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/main/java/org/apache/ode/test/PartnerRoleChannelImpl.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/main/java/org/apache/ode/test/PartnerRoleChannelImpl.java (original)
+++ ode/trunk/bpel-test/src/main/java/org/apache/ode/test/PartnerRoleChannelImpl.java Thu May 22 16:25:57 2008
@@ -1,50 +1,50 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.test;
-
-import org.apache.ode.bpel.iapi.EndpointReference;
-import org.apache.ode.bpel.iapi.PartnerRoleChannel;
-import org.apache.ode.utils.DOMUtils;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-
-public class PartnerRoleChannelImpl implements PartnerRoleChannel {
-
- public PartnerRoleChannelImpl() {
-
- }
-
- public void close() {
-
- }
-
- public EndpointReference getInitialEndpointReference() {
- final Document doc = DOMUtils.newDocument();
- Element serviceref = doc.createElementNS(EndpointReference.SERVICE_REF_QNAME.getNamespaceURI(),
- EndpointReference.SERVICE_REF_QNAME.getLocalPart());
- doc.appendChild(serviceref);
- return new EndpointReference() {
- public Document toXML() {
- return doc;
- }
- };
- }
-}
-
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.test;
+
+import org.apache.ode.bpel.iapi.EndpointReference;
+import org.apache.ode.bpel.iapi.PartnerRoleChannel;
+import org.apache.ode.utils.DOMUtils;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+public class PartnerRoleChannelImpl implements PartnerRoleChannel {
+
+ public PartnerRoleChannelImpl() {
+
+ }
+
+ public void close() {
+
+ }
+
+ public EndpointReference getInitialEndpointReference() {
+ final Document doc = DOMUtils.newDocument();
+ Element serviceref = doc.createElementNS(EndpointReference.SERVICE_REF_QNAME.getNamespaceURI(),
+ EndpointReference.SERVICE_REF_QNAME.getLocalPart());
+ doc.appendChild(serviceref);
+ return new EndpointReference() {
+ public Document toXML() {
+ return doc;
+ }
+ };
+ }
+}
+
Modified: ode/trunk/bpel-test/src/test/java/org/apache/ode/test/MessageRouting20Test.java
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/MessageRouting20Test.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/java/org/apache/ode/test/MessageRouting20Test.java (original)
+++ ode/trunk/bpel-test/src/test/java/org/apache/ode/test/MessageRouting20Test.java Thu May 22 16:25:57 2008
@@ -1,87 +1,87 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.ode.test;
-
-import org.junit.Ignore;
-import org.junit.Test;
-
-public class MessageRouting20Test extends BPELTestAbstract {
-
- @Test public void testCorrelation() throws Throwable {
- go("/bpel/2.0/TestCorrelation");
- }
-
- @Test public void testCorrelation1() throws Throwable {
- go("/bpel/2.0/TestCorrelation1");
- }
-
- @Ignore("fix test bed for handling ASYNC mex") @Test public void testCorrelationOpaque() throws Throwable {
- //TODO Fix me, we need to capture the session id to send it in the second test message
- go("/bpel/2.0/TestCorrelationOpaque");
- }
-
- @Test public void testDynamicPick() throws Throwable {
- go("/bpel/2.0/TestDynamicPick");
- }
-
- @Test public void testInstPick() throws Throwable {
- go("/bpel/2.0/TestInstantiatingPick");
- }
-
- @Test public void testStaticOnMessage() throws Throwable {
- go("/bpel/2.0/TestStaticOnMessage");
- }
-
- @Test public void testStaticPick() throws Throwable {
- go("/bpel/2.0/TestStaticPick");
- }
-
- @Ignore("fix test bed for handling ASYNC mex") @Test public void testNegativeCorrelation() throws Throwable {
- /**
- * This test contains invalid BPEL. There is an instantiating
- * <receive> and a subsequent <pick> that does not define a correlation
- * key. The BPEL compiler should throw an exception indicating
- * the BPEL code error ( verify with spec ).
- *
- * See JIRA ODE-64
- *
- */
- // TODO fix the bug first
- negative("target/test-classes/bpel/2.0/NegativeCorrelationTest");
- }
-
- @Test @Ignore("fix test bed for handling ASYNC mex") public void testNegativeInitialization() throws Throwable {
- /**
- * This test contains invalid BPEL. There is an instantiating
- * <receive> within a <scope>. The <scope> contains eventhandlers
- * that reference the correlation set found on the receive. The BPEL
- * compiler should throw an exception indicating
- * the BPEL error ( verify with spec ) or at runtime
- * a clear initialization exception should be thrown.
- *
- * See JIRA ODE-61.
- *
- * The message exchange should return with a Fault/Failure.
- *
- */
- // TODO fix the bug first
- negative("target/test-classes/bpel/2.0/NegativeInitializationTest");
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.ode.test;
+
+import org.junit.Ignore;
+import org.junit.Test;
+
+public class MessageRouting20Test extends BPELTestAbstract {
+
+ @Test public void testCorrelation() throws Throwable {
+ go("/bpel/2.0/TestCorrelation");
+ }
+
+ @Test public void testCorrelation1() throws Throwable {
+ go("/bpel/2.0/TestCorrelation1");
+ }
+
+ @Ignore("fix test bed for handling ASYNC mex") @Test public void testCorrelationOpaque() throws Throwable {
+ //TODO Fix me, we need to capture the session id to send it in the second test message
+ go("/bpel/2.0/TestCorrelationOpaque");
+ }
+
+ @Test public void testDynamicPick() throws Throwable {
+ go("/bpel/2.0/TestDynamicPick");
+ }
+
+ @Test public void testInstPick() throws Throwable {
+ go("/bpel/2.0/TestInstantiatingPick");
+ }
+
+ @Test public void testStaticOnMessage() throws Throwable {
+ go("/bpel/2.0/TestStaticOnMessage");
+ }
+
+ @Test public void testStaticPick() throws Throwable {
+ go("/bpel/2.0/TestStaticPick");
+ }
+
+ @Ignore("fix test bed for handling ASYNC mex") @Test public void testNegativeCorrelation() throws Throwable {
+ /**
+ * This test contains invalid BPEL. There is an instantiating
+ * <receive> and a subsequent <pick> that does not define a correlation
+ * key. The BPEL compiler should throw an exception indicating
+ * the BPEL code error ( verify with spec ).
+ *
+ * See JIRA ODE-64
+ *
+ */
+ // TODO fix the bug first
+ negative("target/test-classes/bpel/2.0/NegativeCorrelationTest");
+ }
+
+ @Test @Ignore("fix test bed for handling ASYNC mex") public void testNegativeInitialization() throws Throwable {
+ /**
+ * This test contains invalid BPEL. There is an instantiating
+ * <receive> within a <scope>. The <scope> contains eventhandlers
+ * that reference the correlation set found on the receive. The BPEL
+ * compiler should throw an exception indicating
+ * the BPEL error ( verify with spec ) or at runtime
+ * a clear initialization exception should be thrown.
+ *
+ * See JIRA ODE-61.
+ *
+ * The message exchange should return with a Fault/Failure.
+ *
+ */
+ // TODO fix the bug first
+ negative("target/test-classes/bpel/2.0/NegativeInitializationTest");
+ }
+
+}
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/FaultService/faultService.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/FaultService/faultService.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/FaultService/faultService.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/FaultService/faultService.wsdl Thu May 22 16:25:57 2008
@@ -1,48 +1,48 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
--->
-
-<wsdl:definitions targetNamespace="http://ode/bpel/unit-test/FaultService.wsdl"
- xmlns="http://ode/bpel/unit-test/FaultService.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/FaultService.wsdl"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-
- <wsdl:message name="faultMessage">
- <wsdl:part name="faultName" type="xsd:string"/>
- <wsdl:part name="faultData" type="xsd:string"/>
- <wsdl:part name="faultIndicator1" type="xsd:string"/>
- <wsdl:part name="faultIndicator2" type="xsd:string"/>
- </wsdl:message>
- <wsdl:message name="errorMessage">
- <wsdl:part name="errorID" type="xsd:string"/>
- <wsdl:part name="errorText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:portType name="faultMessagePT">
- <wsdl:operation name="throwFault">
- <wsdl:input name="FaultInputMessage" message="tns:faultMessage"/>
- <wsdl:output name="FaultOutputMessage" message="tns:faultMessage"/>
- <wsdl:fault name="FaultMessage1" message="tns:errorMessage"/>
- <wsdl:fault name="FaultMessage2" message="tns:errorMessage"/>
- <wsdl:fault name="UnknownFault" message="tns:errorMessage"/>
- </wsdl:operation>
- </wsdl:portType>
-
-</wsdl:definitions>
-
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions targetNamespace="http://ode/bpel/unit-test/FaultService.wsdl"
+ xmlns="http://ode/bpel/unit-test/FaultService.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/FaultService.wsdl"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+ <wsdl:message name="faultMessage">
+ <wsdl:part name="faultName" type="xsd:string"/>
+ <wsdl:part name="faultData" type="xsd:string"/>
+ <wsdl:part name="faultIndicator1" type="xsd:string"/>
+ <wsdl:part name="faultIndicator2" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="errorMessage">
+ <wsdl:part name="errorID" type="xsd:string"/>
+ <wsdl:part name="errorText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="faultMessagePT">
+ <wsdl:operation name="throwFault">
+ <wsdl:input name="FaultInputMessage" message="tns:faultMessage"/>
+ <wsdl:output name="FaultOutputMessage" message="tns:faultMessage"/>
+ <wsdl:fault name="FaultMessage1" message="tns:errorMessage"/>
+ <wsdl:fault name="FaultMessage2" message="tns:errorMessage"/>
+ <wsdl:fault name="UnknownFault" message="tns:errorMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+</wsdl:definitions>
+
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.bpel Thu May 22 16:25:57 2008
@@ -27,7 +27,7 @@
targetNamespace="http://ode/bpel/unit-test/NegativeCorrelationTest"
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- suppressJoinFailure="yes">
+ suppressJoinFailure="yes">
<import location="NegativeCorrelationTest.wsdl"
namespace="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
@@ -36,180 +36,180 @@
namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
-
+
<!-- This is a negative unit test for the ODE compiler. The compiler should
- throw an exception because the <pick> does not contain a correlation set. -->
-
- <partnerLinks>
+ throw an exception because the <pick> does not contain a correlation set. -->
+
+ <partnerLinks>
<partnerLink name="request1" partnerLinkType="wns:NegativeCorrelationTestRequest" myRole="NegativeCorrelationTestService"/>
- <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
- </partnerLinks>
-
- <variables>
- <variable name="request"
- messageType="wns:requestMessage"/>
- <variable name="probeInput"
- messageType="prb:probeMessage"/>
- <variable name="reply"
- messageType="wns:replyMessage"/>
- </variables>
-
- <correlationSets>
- <correlationSet name="testCorr1" properties="wns:testProbeID"/>
- </correlationSets>
-
- <sequence>
- <receive name="receive1" partnerLink="request1"
- portType="wns:NegativeCorrelationTestPT"
- operation="request" variable="request"
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="wns:testProbeID"/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request1"
+ portType="wns:NegativeCorrelationTestPT"
+ operation="request" variable="request"
createInstance="yes">
<correlations>
<correlation set="testCorr1" initiate="yes"/>
- </correlations>
- </receive>
-
- <assign name="assign1">
- <copy>
- <from variable="request" property="wns:testProbeID"/>
- <to variable="probeInput" part="probeName"/>
- </copy>
- <copy>
- <from variable="request" part="requestText"/>
- <to variable="probeInput" part="probeData"/>
- </copy>
- </assign>
-
-
- <assign>
+ </correlations>
+ </receive>
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+
+
+ <assign>
<copy>
<from>
<literal><![CDATA[block for next message]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <pick name="testPick">
- <onMessage partnerLink="request1"
- portType="wns:NegativeCorrelationTestPT" operation="continue1" variable="request">
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <pick name="testPick">
+ <onMessage partnerLink="request1"
+ portType="wns:NegativeCorrelationTestPT" operation="continue1" variable="request">
<!--
<correlations>
<correlation set="testCorr1"/>
</correlations>
-->
- <sequence>
- <assign>
+ <sequence>
+ <assign>
<copy>
<from>
<literal><![CDATA[pick branch one invoked]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <assign>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign>
<copy>
<from>
<literal><![CDATA[process complete]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <assign name="assign2">
- <copy>
- <from variable="probeInput" part="probeName"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="probeInput" part="probeData"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request1" portType="wns:NegativeCorrelationTestPT"
- operation="continue1" variable="reply">
- </reply>
-
- </sequence>
- </onMessage>
- <onMessage partnerLink="request1"
- portType="wns:NegativeCorrelationTestPT" operation="continue2" variable="request">
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign name="assign2">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request1" portType="wns:NegativeCorrelationTestPT"
+ operation="continue1" variable="reply">
+ </reply>
+
+ </sequence>
+ </onMessage>
+ <onMessage partnerLink="request1"
+ portType="wns:NegativeCorrelationTestPT" operation="continue2" variable="request">
<!--
<correlations>
<correlation set="testCorr1"/>
</correlations>
-->
- <sequence>
- <assign>
+ <sequence>
+ <assign>
<copy>
<from>
<literal><![CDATA[pick branch two invoked]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <assign>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <assign>
<copy>
<from>
<literal><![CDATA[process complete]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
- <assign name="assign2">
- <copy>
- <from variable="probeInput" part="probeName"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="probeInput" part="probeData"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request1" portType="wns:NegativeCorrelationTestPT"
- operation="continue2" variable="reply">
- </reply>
-
- </sequence>
- </onMessage>
- </pick>
- </sequence>
-</process>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ <assign name="assign2">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request1" portType="wns:NegativeCorrelationTestPT"
+ operation="continue2" variable="reply">
+ </reply>
+
+ </sequence>
+ </onMessage>
+ </pick>
+ </sequence>
+</process>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeCorrelationTest/NegativeCorrelationTest.wsdl Thu May 22 16:25:57 2008
@@ -1,81 +1,81 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
--->
-
-<wsdl:definitions
- targetNamespace="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
- xmlns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
-
-
- <wsdl:message name="requestMessage">
- <wsdl:part name="requestID" type="xsd:string"/>
- <wsdl:part name="requestText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:message name="replyMessage">
- <wsdl:part name="replyID" type="xsd:string"/>
- <wsdl:part name="replyText" type="xsd:string"/>
- </wsdl:message>
-
-
- <wsdl:portType name="NegativeCorrelationTestPT">
- <wsdl:operation name="request">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions
+ targetNamespace="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ xmlns="http://ode/bpel/unit-test/NegativeCorrelationTest.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
+
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <wsdl:portType name="NegativeCorrelationTestPT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
<wsdl:operation name="continue1">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- <wsdl:operation name="continue2">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- </wsdl:portType>
-
-
- <wsdl:binding name="NegativeCorrelationTestBinding" type="tns:NegativeCorrelationTestPT">
- <wsdl:operation name="request">
- </wsdl:operation>
- <wsdl:operation name="continue1">
- </wsdl:operation>
- <wsdl:operation name="continue2">
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="NegativeCorrelationTestService">
- <wsdl:port name="NegativeCorrelationTestPort" binding="tns:NegativeCorrelationTestBinding">
- </wsdl:port>
- </wsdl:service>
-
- <plnk:partnerLinkType name="NegativeCorrelationTestRequest">
- <plnk:role name="NegativeCorrelationTestService" portType="NegativeCorrelationTestPT"/>
- </plnk:partnerLinkType>
-
- <plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
- </plnk:partnerLinkType>
-
- <bpws:property name="testProbeID" type="xsd:string"/>
- <bpws:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
-
-</wsdl:definitions>
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+
+ <wsdl:binding name="NegativeCorrelationTestBinding" type="tns:NegativeCorrelationTestPT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="NegativeCorrelationTestService">
+ <wsdl:port name="NegativeCorrelationTestPort" binding="tns:NegativeCorrelationTestBinding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="NegativeCorrelationTestRequest">
+ <plnk:role name="NegativeCorrelationTestService" portType="NegativeCorrelationTestPT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+ <bpws:property name="testProbeID" type="xsd:string"/>
+ <bpws:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestID"/>
+
+</wsdl:definitions>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.bpel Thu May 22 16:25:57 2008
@@ -27,9 +27,9 @@
targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest"
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
- suppressJoinFailure="yes">
-
-<!-- test onMessage with static correlation key -->
+ suppressJoinFailure="yes">
+
+<!-- test onMessage with static correlation key -->
<import location="NegativeInitializationTest.wsdl"
namespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
@@ -38,90 +38,90 @@
namespace="http://ode/bpel/unit-test/ProbeService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
-
- <partnerLinks>
- <partnerLink name="request1" partnerLinkType="wns:NegativeInitializationTestRequest" myRole="NegativeInitializationTestService"/>
- <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
- </partnerLinks>
-
- <variables>
- <variable name="request"
- messageType="wns:requestMessage"/>
- <variable name="probeInput"
- messageType="prb:probeMessage"/>
- <variable name="reply"
- messageType="wns:replyMessage"/>
- </variables>
-
- <correlationSets>
- <correlationSet name="testCorr1" properties="wns:testProbeID"/>
- </correlationSets>
-
+
+ <partnerLinks>
+ <partnerLink name="request1" partnerLinkType="wns:NegativeInitializationTestRequest" myRole="NegativeInitializationTestService"/>
+ <partnerLink name="probe" partnerLinkType="wns:probeRequest" partnerRole="probeService" initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="request"
+ messageType="wns:requestMessage"/>
+ <variable name="probeInput"
+ messageType="prb:probeMessage"/>
+ <variable name="reply"
+ messageType="wns:replyMessage"/>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="testCorr1" properties="wns:testProbeID"/>
+ </correlationSets>
+
<sequence>
- <scope name="scopeOne">
- <eventHandlers>
-
- <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ <scope name="scopeOne">
+ <eventHandlers>
+
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
portType="wns:NegativeInitializationTestPT" operation="event1" variable="request">
<correlations>
<correlation set="testCorr1"/>
</correlations>
-
+
<scope>
- <sequence>
- <assign>
+ <sequence>
+ <assign>
<copy>
<from>
<literal><![CDATA[TestStaticOnMessage3PT]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
</sequence>
- </scope>
- </onEvent>
- <onEvent partnerLink="request1" messageType="wns:requestMessage"
- portType="wns:NegativeInitializationTestPT" operation="event2" variable="request">
+ </scope>
+ </onEvent>
+ <onEvent partnerLink="request1" messageType="wns:requestMessage"
+ portType="wns:NegativeInitializationTestPT" operation="event2" variable="request">
<correlations>
<correlation set="testCorr1"/>
</correlations>
<scope>
- <sequence>
- <assign>
+ <sequence>
+ <assign>
<copy>
<from>
<literal><![CDATA[received event on TestStaticOnMessage4PT]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
</sequence>
- </scope>
- </onEvent>
-
-
- </eventHandlers>
-
- <sequence>
-
+ </scope>
+ </onEvent>
+
+
+ </eventHandlers>
+
+ <sequence>
+
<receive name="receive1" partnerLink="request1"
portType="wns:NegativeInitializationTestPT"
operation="request" variable="request"
@@ -129,104 +129,104 @@
<correlations>
<correlation set="testCorr1" initiate="yes"/>
</correlations>
- </receive>
-
- <!-- Copy input variables to internal accumulators -->
-
- <assign name="assign1">
- <copy>
- <from variable="request" property="wns:testProbeID"/>
- <to variable="probeInput" part="probeName"/>
- </copy>
- <copy>
- <from variable="request" property="wns:testProbeData"/>
- <to variable="probeInput" part="probeData"/>
- </copy>
- </assign>
-
+ </receive>
+
+ <!-- Copy input variables to internal accumulators -->
+
+ <assign name="assign1">
+ <copy>
+ <from variable="request" property="wns:testProbeID"/>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ <copy>
+ <from variable="request" property="wns:testProbeData"/>
+ <to variable="probeInput" part="probeData"/>
+ </copy>
+ </assign>
+
- <assign>
+ <assign>
<copy>
<from>
<literal><![CDATA[block for next message]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
</invoke>
<!-- block the process here while test messages are sent to the eventHandlers -->
-
- <receive name="receive2" partnerLink="request1"
- portType="wns:NegativeInitializationTestPT"
- operation="continue1" variable="request">
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
- </receive>
-
- </sequence>
- </scope>
-
- <assign>
+
+ <receive name="receive2" partnerLink="request1"
+ portType="wns:NegativeInitializationTestPT"
+ operation="continue1" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ </sequence>
+ </scope>
+
+ <assign>
<copy>
<from>
<literal><![CDATA[block for final message]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
-
- <receive name="receive3" partnerLink="request1"
- portType="wns:NegativeInitializationTestPT"
- operation="continue2" variable="request">
- <correlations>
- <correlation set="testCorr1"/>
- </correlations>
- </receive>
-
- <assign>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+
+ <receive name="receive3" partnerLink="request1"
+ portType="wns:NegativeInitializationTestPT"
+ operation="continue2" variable="request">
+ <correlations>
+ <correlation set="testCorr1"/>
+ </correlations>
+ </receive>
+
+ <assign>
<copy>
<from>
<literal><![CDATA[process complete]]></literal>
- </from>
- <to variable="probeInput" part="probeName"/>
- </copy>
- </assign>
-
- <invoke name="probe" partnerLink="probe"
- portType="prb:probeMessagePT"
- operation="probe"
- inputVariable="probeInput"
- outputVariable="probeInput">
- </invoke>
- <assign name="assign2">
- <copy>
- <from variable="probeInput" part="probeName"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="probeInput" part="probeData"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request1" portType="wns:NegativeInitializationTestPT"
- operation="continue2" variable="reply">
- </reply>
-
- </sequence>
-</process>
+ </from>
+ <to variable="probeInput" part="probeName"/>
+ </copy>
+ </assign>
+
+ <invoke name="probe" partnerLink="probe"
+ portType="prb:probeMessagePT"
+ operation="probe"
+ inputVariable="probeInput"
+ outputVariable="probeInput">
+ </invoke>
+ <assign name="assign2">
+ <copy>
+ <from variable="probeInput" part="probeName"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="probeInput" part="probeData"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request1" portType="wns:NegativeInitializationTestPT"
+ operation="continue2" variable="reply">
+ </reply>
+
+ </sequence>
+</process>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeInitializationTest/NegativeInitializationTest.wsdl Thu May 22 16:25:57 2008
@@ -1,116 +1,116 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
--->
-
-<wsdl:definitions
- targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
- xmlns:typens="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl.types"
- xmlns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
- xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
-
-
- <wsdl:types>
- <xsd:schema
- targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl.types"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="testMessage">
- <xsd:sequence>
- <xsd:element name="requestID" type="xsd:string"/>
- <xsd:element name="requestText" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- </xsd:schema>
- </wsdl:types>
-
- <wsdl:message name="requestMessage">
- <wsdl:part name="requestMessageData" type="typens:testMessage"/>
- </wsdl:message>
-
- <wsdl:message name="replyMessage">
- <wsdl:part name="replyID" type="xsd:string"/>
- <wsdl:part name="replyText" type="xsd:string"/>
- </wsdl:message>
-
-
- <wsdl:portType name="NegativeInitializationTestPT">
- <wsdl:operation name="request">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="event1">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="event2">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="continue1">
- <wsdl:input message="requestMessage"/>
- </wsdl:operation>
- <wsdl:operation name="continue2">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="NegativeInitializationTestBinding" type="tns:NegativeInitializationTestPT">
- <wsdl:operation name="request">
- </wsdl:operation>
- <wsdl:operation name="event1">
- </wsdl:operation>
- <wsdl:operation name="event2">
- </wsdl:operation>
- <wsdl:operation name="continue1">
- </wsdl:operation>
- <wsdl:operation name="continue2">
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="NegativeInitializationTestService">
- <wsdl:port name="NegativeInitializationTestPort" binding="tns:NegativeInitializationTestBinding">
- </wsdl:port>
- </wsdl:service>
-
- <bpws:property name="testProbeID" type="xsd:string"/>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions
+ targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ xmlns:typens="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl.types"
+ xmlns="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl"
+ xmlns:prb="http://ode/bpel/unit-test/ProbeService.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
+
+
+ <wsdl:types>
+ <xsd:schema
+ targetNamespace="http://ode/bpel/unit-test/NegativeInitializationTest.wsdl.types"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="testMessage">
+ <xsd:sequence>
+ <xsd:element name="requestID" type="xsd:string"/>
+ <xsd:element name="requestText" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ </xsd:schema>
+ </wsdl:types>
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestMessageData" type="typens:testMessage"/>
+ </wsdl:message>
+
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+
+ <wsdl:portType name="NegativeInitializationTestPT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ <wsdl:input message="requestMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="NegativeInitializationTestBinding" type="tns:NegativeInitializationTestPT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ <wsdl:operation name="event1">
+ </wsdl:operation>
+ <wsdl:operation name="event2">
+ </wsdl:operation>
+ <wsdl:operation name="continue1">
+ </wsdl:operation>
+ <wsdl:operation name="continue2">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="NegativeInitializationTestService">
+ <wsdl:port name="NegativeInitializationTestPort" binding="tns:NegativeInitializationTestBinding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <bpws:property name="testProbeID" type="xsd:string"/>
<bpws:propertyAlias propertyName="tns:testProbeID" messageType="tns:requestMessage" part="requestMessageData">
- <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
- testMessage/requestID
- </bpws:query>
- </bpws:propertyAlias>
-
- <bpws:property name="testProbeData" type="xsd:string"/>
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ testMessage/requestID
+ </bpws:query>
+ </bpws:propertyAlias>
+
+ <bpws:property name="testProbeData" type="xsd:string"/>
<bpws:propertyAlias propertyName="tns:testProbeData" messageType="tns:requestMessage" part="requestMessageData">
- <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
- testMessage/requestText
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+ testMessage/requestText
</bpws:query>
- </bpws:propertyAlias>
-
-
- <plnk:partnerLinkType name="NegativeInitializationTestRequest">
- <plnk:role name="NegativeInitializationTestService" portType="NegativeInitializationTestPT"/>
- </plnk:partnerLinkType>
-
- <plnk:partnerLinkType name="probeRequest">
- <plnk:role name="probeService" portType="prb:probeMessagePT"/>
- </plnk:partnerLinkType>
-
-</wsdl:definitions>
+ </bpws:propertyAlias>
+
+
+ <plnk:partnerLinkType name="NegativeInitializationTestRequest">
+ <plnk:role name="NegativeInitializationTestService" portType="NegativeInitializationTestPT"/>
+ </plnk:partnerLinkType>
+
+ <plnk:partnerLinkType name="probeRequest">
+ <plnk:role name="probeService" portType="prb:probeMessagePT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.bpel
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.bpel?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.bpel (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.bpel Thu May 22 16:25:57 2008
@@ -28,35 +28,35 @@
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
suppressJoinFailure="yes">
-
+
<import location="NegativeTargetNSTest1.wsdl"
namespace="http://ode/bpel/unit-test/NegativeTargetNSTest1.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/" />
- <partnerLinks>
- <partnerLink name="request" partnerLinkType="wns:NegativeTargetNSTest1Request" myRole="NegativeTargetNSTest1Service"/>
- </partnerLinks>
- <variables>
- <variable name="request" messageType="wns:requestMessage"/>
- <variable name="reply" messageType="wns:replyMessage"/>
- </variables>
-
- <sequence>
- <receive name="receive1" partnerLink="request" portType="wns:NegativeTargetNSTest1PT" operation="request" variable="request" createInstance="yes"/>
- <!-- Copy input variables to internal accumulators -->
- <assign name="assign1">
- <copy>
- <from variable="request" part="requestID"/>
- <to variable="reply" part="replyID"/>
- </copy>
- <copy>
- <from variable="request" part="requestText"/>
- <to variable="reply" part="replyText"/>
- </copy>
- </assign>
-
- <reply name="reply" partnerLink="request" portType="wns:NegativeTargetNSTest1PT" operation="request" variable="reply"/>
- </sequence>
-</process>
+ <partnerLinks>
+ <partnerLink name="request" partnerLinkType="wns:NegativeTargetNSTest1Request" myRole="NegativeTargetNSTest1Service"/>
+ </partnerLinks>
+ <variables>
+ <variable name="request" messageType="wns:requestMessage"/>
+ <variable name="reply" messageType="wns:replyMessage"/>
+ </variables>
+
+ <sequence>
+ <receive name="receive1" partnerLink="request" portType="wns:NegativeTargetNSTest1PT" operation="request" variable="request" createInstance="yes"/>
+ <!-- Copy input variables to internal accumulators -->
+ <assign name="assign1">
+ <copy>
+ <from variable="request" part="requestID"/>
+ <to variable="reply" part="replyID"/>
+ </copy>
+ <copy>
+ <from variable="request" part="requestText"/>
+ <to variable="reply" part="replyText"/>
+ </copy>
+ </assign>
+
+ <reply name="reply" partnerLink="request" portType="wns:NegativeTargetNSTest1PT" operation="request" variable="reply"/>
+ </sequence>
+</process>
Modified: ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.wsdl
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.wsdl?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.wsdl (original)
+++ ode/trunk/bpel-test/src/test/resources/bpel/2.0/NegativeTargetNSTest1/NegativeTargetNSTest1.wsdl Thu May 22 16:25:57 2008
@@ -1,55 +1,55 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
--->
-
-<wsdl:definitions targetNamespace="http://ode/bpel/unit-test/NegativeTargetNSTest.wsdl"
- xmlns:tns="http://ode/bpel/unit-test/NegativeTargetNSTest1.wsdl"
- xmlns="http://ode/bpel/unit-test/NegativeTargetNSTest1.wsdl"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-
- <wsdl:message name="requestMessage">
- <wsdl:part name="requestID" type="xsd:string"/>
- <wsdl:part name="requestText" type="xsd:string"/>
- </wsdl:message>
- <wsdl:message name="replyMessage">
- <wsdl:part name="replyID" type="xsd:string"/>
- <wsdl:part name="replyText" type="xsd:string"/>
- </wsdl:message>
-
- <wsdl:portType name="NegativeTargetNSTest1PT">
- <wsdl:operation name="request">
- <wsdl:input message="requestMessage"/>
- <wsdl:output message="replyMessage"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="NegativeTargetNSTest1Binding" type="tns:NegativeTargetNSTest1PT">
- <wsdl:operation name="request">
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="NegativeTargetNSTest1Service">
- <wsdl:port name="NegativeTargetNSTest1Port" binding="tns:NegativeTargetNSTest1Binding">
- </wsdl:port>
- </wsdl:service>
-
- <plnk:partnerLinkType name="NegativeTargetNSTest1Request">
- <plnk:role name="NegativeTargetNSTest1Service" portType="NegativeTargetNSTest1PT"/>
- </plnk:partnerLinkType>
-
-</wsdl:definitions>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<wsdl:definitions targetNamespace="http://ode/bpel/unit-test/NegativeTargetNSTest.wsdl"
+ xmlns:tns="http://ode/bpel/unit-test/NegativeTargetNSTest1.wsdl"
+ xmlns="http://ode/bpel/unit-test/NegativeTargetNSTest1.wsdl"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+ <wsdl:message name="requestMessage">
+ <wsdl:part name="requestID" type="xsd:string"/>
+ <wsdl:part name="requestText" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="replyMessage">
+ <wsdl:part name="replyID" type="xsd:string"/>
+ <wsdl:part name="replyText" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="NegativeTargetNSTest1PT">
+ <wsdl:operation name="request">
+ <wsdl:input message="requestMessage"/>
+ <wsdl:output message="replyMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="NegativeTargetNSTest1Binding" type="tns:NegativeTargetNSTest1PT">
+ <wsdl:operation name="request">
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="NegativeTargetNSTest1Service">
+ <wsdl:port name="NegativeTargetNSTest1Port" binding="tns:NegativeTargetNSTest1Binding">
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="NegativeTargetNSTest1Request">
+ <plnk:role name="NegativeTargetNSTest1Service" portType="NegativeTargetNSTest1PT"/>
+ </plnk:partnerLinkType>
+
+</wsdl:definitions>