Author: mriou
Date: Wed Aug 27 16:38:49 2008
New Revision: 689669

URL: http://svn.apache.org/viewvc?rev=689669&view=rev
Log:
ODE-141 Add support for the ignoreMissingFromData attribute in <copy>

Added:
    ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/
    
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.bpel
    
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.wsdl
    
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/deploy.xml
    
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/test.properties
Modified:
    
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
    
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Copy.java
    ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/o/OAssign.java
    
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
    ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
    ode/trunk/bpel-schemas/src/main/resources/ws-bpel_abstract_common_base.xsd
    ode/trunk/bpel-schemas/src/main/resources/ws-bpel_executable.xsd
    
ode/trunk/bpel-test/src/test/java/org/apache/ode/test/DataHandling20Test.java

Modified: 
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- 
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
 (original)
+++ 
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
 Wed Aug 27 16:38:49 2008
@@ -72,6 +72,8 @@
                        Copy scopy = (Copy)operation;
                        OAssign.Copy ocopy = new 
OAssign.Copy(_context.getOProcess());
                 ocopy.keepSrcElementName = scopy.isKeepSrcElement();
+                ocopy.ignoreMissingFromData = scopy.isIgnoreMissingFromData();
+                ocopy.ignoreUninitializedFromVariable = 
scopy.isIgnoreUninitializedFromVariable();
                 ocopy.debugInfo = new DebugInfo(_context.getSourceLocation(), 
scopy.getLineNo(),
                         source.getExtensibilityElements());
                 try {

Modified: 
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Copy.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Copy.java?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- 
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Copy.java
 (original)
+++ 
ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Copy.java
 Wed Aug 27 16:38:49 2008
@@ -54,4 +54,11 @@
         return getAttribute("keepSrcElementName", "no").equals("yes");
     }
 
+    public boolean isIgnoreMissingFromData() {
+        return getAttribute("ignoreMissingFromData", "no").equals("yes");
+    }
+    
+    public boolean isIgnoreUninitializedFromVariable() {
+        return getAttribute("ignoreUninitializedFromVariable", 
"no").equals("yes");
+    }
 }

Modified: ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/o/OAssign.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/o/OAssign.java?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/o/OAssign.java 
(original)
+++ ode/trunk/bpel-obj/src/main/java/org/apache/ode/bpel/o/OAssign.java Wed Aug 
27 16:38:49 2008
@@ -65,6 +65,8 @@
         public LValue to;
         public RValue from;
         public boolean keepSrcElementName;
+        public boolean ignoreMissingFromData;
+        public boolean ignoreUninitializedFromVariable;
 
         public Copy(OProcess owner) {
             super(owner);

Modified: 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
 (original)
+++ 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
 Wed Aug 27 16:38:49 2008
@@ -208,10 +208,10 @@
             }
             throw new 
FaultException(cexp.getOwner().constants.qnSubLanguageExecutionFault, 
cause.getMessage(), cause);
         } catch (WrappedResolverException wre) {
-            wre.printStackTrace();
+            __log.debug("Could not evaluate expression because of ", wre);
             throw (FaultException)wre.getCause();
         } catch (Throwable t) {
-            t.printStackTrace();
+            __log.debug("Could not evaluate expression because of ", t);
             throw new 
FaultException(cexp.getOwner().constants.qnSubLanguageExecutionFault, 
t.getMessage(), t);
         }
 

Modified: 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java 
(original)
+++ 
ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java 
Wed Aug 27 16:38:49 2008
@@ -73,7 +73,7 @@
 
     private static final ASSIGNMessages __msgs = MessageBundle
             .getMessages(ASSIGNMessages.class);
-
+    
     public ASSIGN(ActivityInfo self, ScopeFrame scopeFrame, LinkFrame 
linkFrame) {
         super(self, scopeFrame, linkFrame);
     }
@@ -91,6 +91,20 @@
                        
invokeExtensionAssignOperation((OAssign.ExtensionAssignOperation)operation);
                 }
             } catch (FaultException fault) {
+               if (operation instanceof OAssign.Copy) {
+                       if (((OAssign.Copy) operation).ignoreMissingFromData) {
+                               if 
(fault.getQName().equals(getOAsssign().getOwner().constants.qnSelectionFailure) 
&&
+                                               (fault.getCause() != null && 
"ignoreMissingFromData".equals(fault.getCause().getMessage()))) {
+                                       continue;
+                                       }
+                       }
+                       if (((OAssign.Copy) 
operation).ignoreUninitializedFromVariable) {
+                               if 
(fault.getQName().equals(getOAsssign().getOwner().constants.qnUninitializedVariable)
 &&
+                                               (fault.getCause() == null || 
!"throwUninitializedToVariable".equals(fault.getCause().getMessage()))) {
+                                       continue;
+                               }
+                       }
+               }
                 faultData = createFault(fault.getQName(), operation, fault
                         .getMessage());
                 break;
@@ -133,7 +147,7 @@
                     tempwrapper.appendChild(val);
                     val = tempwrapper;
                 } else doc.appendChild(val);
-                // Only external variables need to be initialized, others are 
new and going to be overwtitten
+                // Only external variables need to be initialized, others are 
new and going to be overwritten
                 if (lvar.declaration.extVar != null) lval = 
initializeVariable(lvar, val);
                 else lval = val;
             } else
@@ -203,13 +217,13 @@
         } else if (from instanceof OAssign.Expression) {
             List<Node> l;
             OExpression expr = ((OAssign.Expression) from).expression;
-
+            
             l = getBpelRuntimeContext().getExpLangRuntime().evaluate(expr, 
getEvaluationContext());
 
             if (l.size() == 0) {
                 String msg = __msgs.msgRValueNoNodesSelected(expr.toString());
                 if (__log.isDebugEnabled()) __log.debug(from + ": " + msg);
-                throw new 
FaultException(getOAsssign().getOwner().constants.qnSelectionFailure,msg);
+                throw new 
FaultException(getOAsssign().getOwner().constants.qnSelectionFailure, msg, new 
Throwable("ignoreMissingFromData"));
             } else if (l.size() > 1) {
                 String msg = 
__msgs.msgRValueMultipleNodesSelected(expr.toString());
                 if (__log.isDebugEnabled()) __log.debug(from + ": " + msg);
@@ -426,6 +440,19 @@
         sendEvent(se);
     }
 
+       @Override
+       Node fetchVariableData(VariableInstance variable, boolean forWriting)
+                       throws FaultException {
+               try {
+                       return super.fetchVariableData(variable, forWriting);
+               } catch (FaultException fe) {
+                       if (forWriting) {
+                               fe = new FaultException(fe.getQName(), 
fe.getMessage(), new Throwable("throwUninitializedToVariable"));
+                       }
+                       throw fe;
+               }
+       }
+
        private void replaceEndpointRefence(PartnerLinkInstance plval, Node 
rvalue) throws FaultException {
         // Eventually wrapping with service-ref element if we've been directly 
assigned some
         // value that isn't wrapped.

Modified: 
ode/trunk/bpel-schemas/src/main/resources/ws-bpel_abstract_common_base.xsd
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-schemas/src/main/resources/ws-bpel_abstract_common_base.xsd?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- ode/trunk/bpel-schemas/src/main/resources/ws-bpel_abstract_common_base.xsd 
(original)
+++ ode/trunk/bpel-schemas/src/main/resources/ws-bpel_abstract_common_base.xsd 
Wed Aug 27 16:38:49 2008
@@ -590,6 +590,7 @@
                                </xsd:sequence>
                                <xsd:attribute name="keepSrcElementName" 
type="tBoolean" use="optional" default="no"/>
                                <xsd:attribute name="ignoreMissingFromData" 
type="tBoolean" use="optional" default="no"/>
+                               <xsd:attribute 
name="ignoreUninitializedFromVariable" type="tBoolean" use="optional" 
default="no"/>
                        </xsd:extension>
                </xsd:complexContent>
        </xsd:complexType>

Modified: ode/trunk/bpel-schemas/src/main/resources/ws-bpel_executable.xsd
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-schemas/src/main/resources/ws-bpel_executable.xsd?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- ode/trunk/bpel-schemas/src/main/resources/ws-bpel_executable.xsd (original)
+++ ode/trunk/bpel-schemas/src/main/resources/ws-bpel_executable.xsd Wed Aug 27 
16:38:49 2008
@@ -659,6 +659,7 @@
                                </xsd:sequence>
                                <xsd:attribute name="keepSrcElementName" 
type="tBoolean" use="optional" default="no"/>
                                <xsd:attribute name="ignoreMissingFromData" 
type="tBoolean" use="optional" default="no"/>
+                               <xsd:attribute 
name="ignoreUninitializedFromVariable" type="tBoolean" use="optional" 
default="no"/>
                        </xsd:extension>
                </xsd:complexContent>
        </xsd:complexType>

Modified: 
ode/trunk/bpel-test/src/test/java/org/apache/ode/test/DataHandling20Test.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/DataHandling20Test.java?rev=689669&r1=689668&r2=689669&view=diff
==============================================================================
--- 
ode/trunk/bpel-test/src/test/java/org/apache/ode/test/DataHandling20Test.java 
(original)
+++ 
ode/trunk/bpel-test/src/test/java/org/apache/ode/test/DataHandling20Test.java 
Wed Aug 27 16:38:49 2008
@@ -73,5 +73,7 @@
     @Test public void testDuration() throws Throwable {
         go("/bpel/2.0/TestDuration");
     }
-
+    @Test public void testAssignMissingData() throws Throwable {
+        go("/bpel/2.0/TestAssignMissingData");
+    }
 }

Added: 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.bpel
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.bpel?rev=689669&view=auto
==============================================================================
--- 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.bpel
 (added)
+++ 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.bpel
 Wed Aug 27 16:38:49 2008
@@ -0,0 +1,113 @@
+<!--
+  ~ 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.
+  -->
+
+<process name="TestAssign"
+         targetNamespace="http://ode/bpel/unit-testAssign1";
+         xmlns:ode="http://www.apache.org/ode/type/extension";
+         xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
+         xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
+         xmlns:tns="http://ode/bpel/unit-testAssign1";
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+         xmlns:test="http://ode/bpel/unit-testAssign1.wsdl";
+         queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+         expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+    <import location="TestAssign.wsdl"
+            namespace="http://ode/bpel/unit-testAssign1.wsdl";
+            importType="http://schemas.xmlsoap.org/wsdl/"; />
+
+    <partnerLinks>
+        <partnerLink name="TestAssignPartnerLink" 
partnerLinkType="test:TestAssignPartnerLinkType" myRole="me" />
+    </partnerLinks>
+
+    <variables>
+        <variable name="myVar" messageType="test:TestAssignMessageIn"/>
+        <variable name="otherMsgVar" messageType="test:TestAssignMessageOut"/>
+        <variable name="strVar" type="xsd:string"/>
+        <variable name="intVar" type="xsd:int"/>
+        <variable name="intVar2" type="xsd:int"/>
+        <variable name="boolVar" type="xsd:boolean"/>
+    </variables>
+
+    <sequence>
+        <receive name="start" partnerLink="TestAssignPartnerLink" 
portType="test:TestAssignPortType"
+                 operation="testAssign" variable="myVar" createInstance="yes" 
ignoreUninitializedFromVariable="yes"/>
+
+        <assign name="assign1">
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>$myVar.TestPart/test:bar</from>
+                <to>$strVar</to>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>$strVar</from>
+                <to>$myVar.TestPart</to>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>"blah"</from>
+                <to>$strVar</to>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>$ode:pid</from>
+                <to variable="strVar"/>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>2 + 1</from>
+                <to variable="intVar"/>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>$intVar</from>
+                <to>$intVar2</to>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>$intVar + 1</from>
+                <to>$intVar</to>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>$intVar + 1</from>
+                <to variable="intVar"/>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>$intVar = 5</from>
+                <to variable="boolVar"/>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>abs($intVar + number('2'))</from>
+                <to variable="intVar"/>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from variable="myVar" part="TestPart"/>
+                <to variable="strVar"/>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from>concat($strVar,' World', $intVar, $boolVar,  
$intVar2)</from>
+                <to variable="myVar" part="TestPart"/>
+            </copy>
+            <copy ignoreMissingFromData="yes" 
ignoreUninitializedFromVariable="yes">
+                <from variable="myVar" part="TestPart"/>
+                <to variable="otherMsgVar" part="TestPart"/>
+            </copy>
+                       <copy ignoreMissingFromData="no">
+                               <from>"Hello World"</from>
+                <to variable="otherMsgVar" part="TestPart"/>
+                       </copy>
+        </assign>
+        <reply name="end" partnerLink="TestAssignPartnerLink" 
portType="test:TestAssignPortType"
+               operation="testAssign" variable="otherMsgVar"/>
+    </sequence>
+</process>

Added: 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.wsdl
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.wsdl?rev=689669&view=auto
==============================================================================
--- 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.wsdl
 (added)
+++ 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/TestAssign.wsdl
 Wed Aug 27 16:38:49 2008
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+  ~ 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-testAssign1.wsdl";
+    xmlns="http://schemas.xmlsoap.org/wsdl/";
+    xmlns:tns="http://ode/bpel/unit-testAssign1.wsdl";
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
+    xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
+    xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype";>
+       
+       <types>
+               <xsd:schema
+                       
targetNamespace="http://ode/bpel/unit-testAssign1.wsdl";>                
+                       <xsd:complexType name="foo">
+                           <xsd:sequence minOccurs="0">
+                               <xsd:element name="bar" type="xsd:string"/>
+                           </xsd:sequence>
+                       </xsd:complexType>
+               </xsd:schema>
+       </types>
+
+    <wsdl:message name="TestAssignMessageIn">
+        <wsdl:part name="TestPart" type="tns:foo"/>
+    </wsdl:message>
+
+    <wsdl:message name="TestAssignMessageOut">
+        <wsdl:part name="TestPart" element="xsd:string"/>
+    </wsdl:message>
+       
+    <wsdl:portType name="TestAssignPortType">
+        <wsdl:operation name="testAssign">
+            <wsdl:input message="tns:TestAssignMessageIn" name="TestIn"/>
+            <wsdl:output message="tns:TestAssignMessageOut" name="TestOut"/>
+        </wsdl:operation>
+    </wsdl:portType>
+
+     <wsdl:binding name="TestAssignSoapBinding" type="tns:TestAssignPortType">
+        <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="testAssign">
+            <soap:operation soapAction="" style="rpc"/>
+            <wsdl:input>
+                <soap:body namespace="http://ode/bpel/unit-test.wsdl"; 
use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body namespace="http://ode/bpel/unit-test.wsdl"; 
use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="TestAssignService">
+               <wsdl:port name="TestAssignPort" 
binding="tns:TestAssignSoapBinding">
+               <soap:address 
location="http://localhost:8080/ode/processes/TestAssign"/>
+               </wsdl:port>
+    </wsdl:service>
+
+   <plnk:partnerLinkType name="TestAssignPartnerLinkType">
+       <plnk:role name="me" portType="tns:TestAssignPortType"/>
+       <plnk:role name="you" portType="tns:TestAssignPortType"/>
+   </plnk:partnerLinkType>
+</wsdl:definitions>
+

Added: 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/deploy.xml
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/deploy.xml?rev=689669&view=auto
==============================================================================
--- 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/deploy.xml
 (added)
+++ 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/deploy.xml
 Wed Aug 27 16:38:49 2008
@@ -0,0 +1,32 @@
+<!--
+  ~ 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.
+  -->
+
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03";
+  xmlns:pns="http://ode/bpel/unit-testAssign1";
+  xmlns:wns="http://ode/bpel/unit-testAssign1.wsdl";>
+
+
+       <process name="pns:TestAssign">
+               <active>true</active>
+               <provide partnerLink="TestAssignPartnerLink">
+                       <service name="wns:TestAssignService" 
port="TestAssignPort"/>
+                       <service name="wns:TestAssignService" 
port="TestAssignPort"/>
+               </provide>
+       </process>
+</deploy>

Added: 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/test.properties
URL: 
http://svn.apache.org/viewvc/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/test.properties?rev=689669&view=auto
==============================================================================
--- 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/test.properties
 (added)
+++ 
ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestAssignMissingData/test.properties
 Wed Aug 27 16:38:49 2008
@@ -0,0 +1,22 @@
+#
+#    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.
+#
+
+namespace=http://ode/bpel/unit-testAssign1.wsdl
+service=TestAssignService
+operation=testAssign
+request1=<message><TestPart>Hello</TestPart></message>
+response1=.*Hello World.*
\ No newline at end of file


Reply via email to