You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bu...@apache.org on 2012/11/12 14:07:46 UTC

svn commit: r838053 [1/13] - /websites/staging/ode/trunk/content/

Author: buildbot
Date: Mon Nov 12 13:07:37 2012
New Revision: 838053

Log:
Staging update by buildbot for ode

Added:
    websites/staging/ode/trunk/content/abstract-wsdl.html
    websites/staging/ode/trunk/content/activities.html
    websites/staging/ode/trunk/content/activity-failure-and-recovery.html
    websites/staging/ode/trunk/content/agha86.html
    websites/staging/ode/trunk/content/ambiguousreceive.html
    websites/staging/ode/trunk/content/ant-tasks.html
    websites/staging/ode/trunk/content/architectural-overview.html
    websites/staging/ode/trunk/content/assign.html
    websites/staging/ode/trunk/content/atomic-scopes-extension-for-bpel.html
    websites/staging/ode/trunk/content/bibliography.html
    websites/staging/ode/trunk/content/bpel-extensions.html
    websites/staging/ode/trunk/content/bpel-language-guide.html
    websites/staging/ode/trunk/content/bpel-management-api-specification.html
    websites/staging/ode/trunk/content/bpel4ws-11.html
    websites/staging/ode/trunk/content/bpelc-command.html
    websites/staging/ode/trunk/content/bpelc-task.html
    websites/staging/ode/trunk/content/building-ode.html
    websites/staging/ode/trunk/content/commandline-tools.html
    websites/staging/ode/trunk/content/compensate.html
    websites/staging/ode/trunk/content/contributors.html
    websites/staging/ode/trunk/content/copy-with-insert-attribute.html
    websites/staging/ode/trunk/content/creating-a-process.html
    websites/staging/ode/trunk/content/ddvalidate-command.html
    websites/staging/ode/trunk/content/deployment-unit.html
    websites/staging/ode/trunk/content/deployxml.html
    websites/staging/ode/trunk/content/developer-guide.html
    websites/staging/ode/trunk/content/direct-process-to-process-communication.html
    websites/staging/ode/trunk/content/eclipse-ide.html
    websites/staging/ode/trunk/content/endpoint-configuration.html
    websites/staging/ode/trunk/content/endpoint-references.html
    websites/staging/ode/trunk/content/exported-port.html
    websites/staging/ode/trunk/content/expression-languages.html
    websites/staging/ode/trunk/content/external-variables.html
    websites/staging/ode/trunk/content/faq.html
    websites/staging/ode/trunk/content/flexible-assigns.html
    websites/staging/ode/trunk/content/getting-ode.html
    websites/staging/ode/trunk/content/glossary.html
    websites/staging/ode/trunk/content/headers-handling.html
    websites/staging/ode/trunk/content/http-authentication.html
    websites/staging/ode/trunk/content/http-soap-protocol-adapter.html
    websites/staging/ode/trunk/content/implicit-correlations.html
    websites/staging/ode/trunk/content/imported-port.html
    websites/staging/ode/trunk/content/instance-data-cleanup.html
    websites/staging/ode/trunk/content/instance-replayer.html
    websites/staging/ode/trunk/content/integration-layer.html
    websites/staging/ode/trunk/content/invalidvariables.html
    websites/staging/ode/trunk/content/invoke.html
    websites/staging/ode/trunk/content/iterable-foreach.html
    websites/staging/ode/trunk/content/jacob.html
    websites/staging/ode/trunk/content/jbi-deployment.html
    websites/staging/ode/trunk/content/logo.html
    websites/staging/ode/trunk/content/mailing-lists.html
    websites/staging/ode/trunk/content/management-api.html
    websites/staging/ode/trunk/content/message-exchange.html
    websites/staging/ode/trunk/content/ode-execution-events.html
    websites/staging/ode/trunk/content/ode-jbi-and-axis2-properties-overview.html
    websites/staging/ode/trunk/content/ode-schema.html
    websites/staging/ode/trunk/content/pick.html
    websites/staging/ode/trunk/content/port.html
    websites/staging/ode/trunk/content/process-contexts.html
    websites/staging/ode/trunk/content/process-versioning.html
    websites/staging/ode/trunk/content/pxe-activate-command.html
    websites/staging/ode/trunk/content/pxe-deactivate-command.html
    websites/staging/ode/trunk/content/pxe-deploy-command.html
    websites/staging/ode/trunk/content/pxe-sar-task.html
    websites/staging/ode/trunk/content/pxe-status-command.html
    websites/staging/ode/trunk/content/pxe-undeploy-command.html
    websites/staging/ode/trunk/content/receive.html
    websites/staging/ode/trunk/content/release-guidelines.html
    websites/staging/ode/trunk/content/required-third-party-libraries.html
    websites/staging/ode/trunk/content/restful-bpel-part-i.html
    websites/staging/ode/trunk/content/restful-bpel-part-ii.html
    websites/staging/ode/trunk/content/roadmap.html
    websites/staging/ode/trunk/content/rradd-command.html
    websites/staging/ode/trunk/content/rralias-command.html
    websites/staging/ode/trunk/content/rrdrop-command.html
    websites/staging/ode/trunk/content/rrget-command.html
    websites/staging/ode/trunk/content/rrls-command.html
    websites/staging/ode/trunk/content/sarcreate-command.html
    websites/staging/ode/trunk/content/sarls-command.html
    websites/staging/ode/trunk/content/sendsoap-command.html
    websites/staging/ode/trunk/content/service-providers.html
    websites/staging/ode/trunk/content/service.html
    websites/staging/ode/trunk/content/smx4-osgi-deployment.html
    websites/staging/ode/trunk/content/soap-11.html
    websites/staging/ode/trunk/content/source-code.html
    websites/staging/ode/trunk/content/specifications-and-standards.html
    websites/staging/ode/trunk/content/standard-faults.html
    websites/staging/ode/trunk/content/stateful-exchange-protocol.html
    websites/staging/ode/trunk/content/system-lifecycle.html
    websites/staging/ode/trunk/content/uninitializedvariable.html
    websites/staging/ode/trunk/content/upgrading-ode.html
    websites/staging/ode/trunk/content/uri.html
    websites/staging/ode/trunk/content/url.html
    websites/staging/ode/trunk/content/urlalias-command.html
    websites/staging/ode/trunk/content/use-assign-to-build-messages.html
    websites/staging/ode/trunk/content/user-guide.html
    websites/staging/ode/trunk/content/using-a-jndi-datasource-under-servicemix-jbi.html
    websites/staging/ode/trunk/content/validate.html
    websites/staging/ode/trunk/content/version-command.html
    websites/staging/ode/trunk/content/war-deployment.html
    websites/staging/ode/trunk/content/writing-bpel-test-cases.html
    websites/staging/ode/trunk/content/ws-bpel-20-specification-compliance.html
    websites/staging/ode/trunk/content/ws-bpel-20.html
    websites/staging/ode/trunk/content/ws-i-basic-profile-11.html
    websites/staging/ode/trunk/content/ws-security-in-ode.html
    websites/staging/ode/trunk/content/wsdl-11-extensions-for-rest.html
    websites/staging/ode/trunk/content/wsdl-11-http-binding-support.html
    websites/staging/ode/trunk/content/wsdl-11.html
    websites/staging/ode/trunk/content/xpath-10-expression-language.html
    websites/staging/ode/trunk/content/xpath-20-expression-language.html
    websites/staging/ode/trunk/content/xpath-extensions.html
    websites/staging/ode/trunk/content/xquery-extensions.html
Modified:
    websites/staging/ode/trunk/content/   (props changed)
    websites/staging/ode/trunk/content/index.html
    websites/staging/ode/trunk/content/sitemap.html

Propchange: websites/staging/ode/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Nov 12 13:07:37 2012
@@ -1 +1 @@
-1408240
+1408275

Added: websites/staging/ode/trunk/content/abstract-wsdl.html
==============================================================================
--- websites/staging/ode/trunk/content/abstract-wsdl.html (added)
+++ websites/staging/ode/trunk/content/abstract-wsdl.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>abstract WSDL</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>abstract WSDL</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p><em>abstract WSDL</em> --- {excerpt}the WSDL declarations (i.e. types, messages, operations, and port types) that do not depend on the wire representation.{excerpt}.  The ODE engine runtime uses only on the <em>abstract WSDL</em>; the ODE <a href="integration-layer.html">integration layers</a> may use the non-abstract, i.e. <em>[concrete WSDL]</em>.</p></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>

Added: websites/staging/ode/trunk/content/activities.html
==============================================================================
--- websites/staging/ode/trunk/content/activities.html (added)
+++ websites/staging/ode/trunk/content/activities.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>Activities</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>Activities</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p>{children:excerpt=true} </p></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>

Added: websites/staging/ode/trunk/content/activity-failure-and-recovery.html
==============================================================================
--- websites/staging/ode/trunk/content/activity-failure-and-recovery.html (added)
+++ websites/staging/ode/trunk/content/activity-failure-and-recovery.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,129 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>Activity Failure and Recovery</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>Activity Failure and Recovery</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p>There are several types of error conditions. In this document we introduce a class of error condition called <em>failures</em>, distinct from <em>faults</em>, and describe how failures are caught and handled by the process engine.</p>
+<p>A service returns a fault in response to a request it cannot process. A process may also raise a fault internally when it encounters a terminal error condition, e.g. a faulty expression or false join condition. In addition, processes may raise faults in order to terminate normal processing.</p>
+<p>In contrast, failures are non-terminal error conditions that do not affect the normal flow of the process. We keep the process definition simple and straightforward by delegating failure handling to the process engine and administrator.</p>
+<p>For example, when the process is unable to perform DNS resolution to determine the service endpoint, it generates a failure. An administrator can fix the DNS server and tell the process engine to retry the activity. Had the DNS error been reported as a fault, the process would either terminate or require complex fault handling and recovery logic to proceed past this point of failure.</p>
+<p>In short, failures shields the process from common, non-terminal error conditions while retaining simple and straightforward process definitions that do not need to account for these error conditions.</p>
+<p><a name="ActivityFailureandRecovery-FromFailuretoRecovery"></a></p>
+<h3 id="from-failure-to-recovery">From Failure to Recovery</h3>
+<p>Currently, the <em>Invoke</em> activity is the only activity that supports failure handling and recovery. The mechanism is identical for all other activities that may support failure handling and recovery in the future.</p>
+<p>In case of the <em>Invoke</em> activity, a failure condition is triggered by the integration layer, in lieu of a response or fault message. The <em>Invoke</em> activity consults its failure handling policy (specified here) and decides how to respond.</p>
+<p>Set <em>faultOnFailure</em> to <em>yes</em>, if you want the activity to throw a fault on failure. All other failure handling settings are ignored. The activity will throw the <em>activityFailure</em> fault.</p>
+<p>The <em>activityFailure</em> fault is a standard fault, so you can use the <em>exitOnStandardFault</em> attribute to control whether the process exits immediately, or throws a fault in the enclosing scope.</p>
+<p>Set <em>retryFor</em> to a positive integer if you want the activity to attempt self-recovery and retry up to that number of times. Set <em>retryDelay</em> to a reasonable time delay (specified in seconds) between retries. For example, if you set <em>retryFor=2, retryDelay=30</em>, the activity will retry after 30 and 60 seconds, for a total of three attempts, before entering activity recovery mode.</p>
+<p>If the activity retries and succeeds, it will complete successfully as if no failure occurred. Of course, the activity may retry and fault, e.g. if the invoked service returns a fault. If the activity has exhausted all retry attempts, it enters activity recovery mode. By default <em>retryFor</em> is zero, and the activity enters recovery mode after the first failure.</p>
+<p>When in recovery mode, you can recover the activity in one of three ways:
+<em> </em>Retry<em> -- Retry the activity manually. You can repeat this any number of times until the activity completes or faults.
+</em> <em>Fault</em> -- Causes the activity to throw the <em>activityFailure</em> fault.
+<em> </em>Cancel* -- Cancels the activity. The activity completes unsuccessfully: without changing the state of variables, by setting the status of all its source links to false, and without installing a compensation handler.
+Activity recovery is performed individually for each activity instance, and does not affect other activities executing in the same process. While the activity is in the <em>FAILURE</em> state, the process instance remains in the <em>ACTIVE</em> state and may execute other activities from parallel flows and event handlers.</p>
+<p><a name="ActivityFailureandRecovery-SpecifyingFailureBehavior"></a></p>
+<h3 id="specifying-failure-behavior">Specifying Failure Behavior</h3>
+<p>Use the <em>failureHandling</em> extensibility element defined in the namespace <code>http://ode.apache.org/activityRecovery</code>. The structure of the <em>failureHandling</em> element is:</p>
+<div class="codehilite"><pre><span class="nt">&lt;ext:failureHandling</span> <span class="na">xmlns:ext=</span><span class="s">&quot;http://ode.apache.org/activityRecovery&quot;</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;ext:faultOnFailure&gt;</span> _boolean_ <span class="nt">&lt;/ext:faultOnFailure&gt;</span>
+    <span class="nt">&lt;ext:retryFor&gt;</span> _integer_ <span class="nt">&lt;/ext:retryFor&gt;</span>
+    <span class="nt">&lt;ext:retryDelay&gt;</span> _integer_ <span class="nt">&lt;/ext:retryDelay&gt;</span>
+<span class="nt">&lt;/ext:failureHandling&gt;</span>
+</pre></div>
+
+
+<p>The <em>faultOnFailure</em>, <em>retryFor</em> and <em>retryDelay</em> elements are optional. The default values are false for <em>faultOnFailure</em>, and zero for <em>retryFor</em> and <em>retryDelay</em>.</p>
+<p>An activity that does not specify failure handling using this extensibility element, inherits the failure handling policy of its parent activity, recursively up to the top-level activity of the process. You can useinheritence to specify the failure handling policy of a set of activities, or all activities in the process, using a single <em>failureHandling</em> extensibility element.</p>
+<p>Note that due to this behavior, if activity <em>S</em> specifies failure handling with the values <em>retryFor=2, retryDelay=60</em>, and has a child activity <em>R</em> that specifies failure handling with the values <em>retryFor=3</em>, the <em>retryDelay</em> value for the child activity <em>R</em> is 0, and not 60. Using the <em>failureHandling</em> element without specifying one of its value elements will apply the default value for that element.</p>
+<p><a name="ActivityFailureandRecovery-Examples"></a></p>
+<h3 id="examples">Examples</h3>
+<p>A simple invoke with the <code>ext:failureHandling</code> extension:</p>
+<div class="codehilite"><pre><span class="nt">&lt;bpel:invoke</span> <span class="na">inputVariable=</span><span class="s">&quot;myRequest&quot;</span>
+    <span class="na">operation=</span><span class="s">&quot;foo&quot;</span> <span class="na">outputVariable=</span><span class="s">&quot;aResponse&quot;</span>
+    <span class="na">partnerLink=</span><span class="s">&quot;myPartner&quot;</span> <span class="na">portType=</span><span class="s">&quot;spt:SomePortType&quot;</span><span class="nt">&gt;</span>
+
+    <span class="nt">&lt;ext:failureHandling</span> <span class="na">xmlns:ext=</span><span class="s">&quot;http://ode.apache.org/activityRecovery&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;ext:faultOnFailure&gt;</span>false<span class="nt">&lt;/ext:faultOnFailure&gt;</span>
+        <span class="nt">&lt;ext:retryFor&gt;</span>2<span class="nt">&lt;/ext:retryFor&gt;</span>
+        <span class="nt">&lt;ext:retryDelay&gt;</span>60<span class="nt">&lt;/ext:retryDelay&gt;</span>
+    <span class="nt">&lt;/ext:failureHandling&gt;</span>
+
+<span class="nt">&lt;/bpel:invoke&gt;</span>
+</pre></div>
+
+
+<p>And a sequence activity that converts failures into faults:</p>
+<div class="codehilite"><pre><span class="nt">&lt;bpel:sequence&gt;</span>
+
+    <span class="nt">&lt;ext:failureHandling</span> <span class="na">xmlns:ext=</span><span class="s">&quot;http://ode.apache.org/activityRecovery&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;ext:faultOnFailure&gt;</span>true<span class="nt">&lt;/ext:faultOnFailure&gt;</span>
+    <span class="nt">&lt;/ext:failureHandling&gt;</span>
+
+    ...
+
+    <span class="nt">&lt;bpel:invoke</span> <span class="na">inputVariable=</span><span class="s">&quot;myRequest&quot;</span>
+        <span class="na">operation=</span><span class="s">&quot;foo&quot;</span> <span class="na">outputVariable=</span><span class="s">&quot;aResponse&quot;</span>
+        <span class="na">partnerLink=</span><span class="s">&quot;myPartner&quot;</span> <span class="na">portType=</span><span class="s">&quot;spt:SomePortType&quot;</span><span class="nt">&gt;</span>
+
+        <span class="nt">&lt;bpel:catchAll&gt;</span>
+            ...
+        <span class="nt">&lt;/bpel:catchAll&gt;</span>
+
+    <span class="nt">&lt;/bpel:invoke&gt;</span>
+
+<span class="nt">&lt;/bpel:sequence&gt;</span>
+</pre></div>
+
+
+<p><a name="ActivityFailureandRecovery-ProcessInstanceManagement"></a></p>
+<h3 id="process-instance-management">Process Instance Management</h3>
+<p>The process instance management provides the following information:
+<em> Process instance summary includes a <em>failures</em> element with a count of the total number of process instances that have one or more activities in recovery mode, and the date/time of the last activity to enter recovery mode. The element exists if at least one activity is in recovery mode.</em> Process instance information includes a <em>failures</em> element with a count of the number of activities in recovery mode, and the date/time of the last activity to enter recovery mode. The element exists if at least one activity is in recovery mode.
+* Activity instance information includes a <em>failure</em> element that specifies the date/time of the failure, the reason for the failure, number of retries, and list of available recovery actions. The element exists if the activity is in the state <em>FAILURE</em>.</p>
+<p>Use the <em>recoverActivity</em> operation to perform a recovery action on an activity in recovery mode. The operation requires the process instance ID, the activity instance ID and the recovery action to perform (one of retry, fault or cancel).</p>
+<p>You can also determine when failure or recovery occurred for a given activity instance from the execution log.</p></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>

Added: websites/staging/ode/trunk/content/agha86.html
==============================================================================
--- websites/staging/ode/trunk/content/agha86.html (added)
+++ websites/staging/ode/trunk/content/agha86.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,52 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>Agha86</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>Agha86</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p>G. Agha. Actors: <em>A Model of Concurrent Computation in Distributed Systems</em>. MIT Press, 1986.</p>
+<p>See also the <a href="http://www.cypherpunks.to/erights/history/actors/AITR-844.pdf">technical report</a> on the same topic.</p></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>

Added: websites/staging/ode/trunk/content/ambiguousreceive.html
==============================================================================
--- websites/staging/ode/trunk/content/ambiguousreceive.html (added)
+++ websites/staging/ode/trunk/content/ambiguousreceive.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,95 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>ambiguousReceive</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>ambiguousReceive</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p><a name="ambiguousReceive-FaultName"></a></p>
+<h3 id="fault-name">Fault Name</h3>
+<p><code>bpel:ambiguousReceive</code> -- {excerpt} two or more inbound message activities using the same partnerLink and operation but different correlationSets match an incoming request message. {excerpt}</p>
+<p><a name="ambiguousReceive-Description"></a></p>
+<h3 id="description">Description</h3>
+<p>This fault is thrown when two (or more) inbound message activities (i.e. <code>&lt;[pick](pick.html)&gt;</code>, <code>&lt;[receive]&gt;</code>, etc...) are in a position to consume the same message. This can occur if two (or more) inbound activities using the same partnerLink and operation (but different correlationSets) are activate at the same time and a message arrives that matches more two or more of the activities. In other words, this fault is thrown when there is a race between two activities to consume the same message. The [following section|#examples] provides an example.</p>
+<div class="alert alert-note">
+    ODE does not currently throw this fault. Instead, one of the inbound message activitie will "win" and consume the message.
+</div>
+
+<p><a name="ambiguousReceive-{anchor:examples}Examples"></a></p>
+<h3 id="anchorexamples-examples">{anchor:examples} Examples</h3>
+<p>The following BPEL (based on the example types in the <a href="ws-bpel-2.0.html">WS-BPEL 2.0</a> specification) would generate the fault in the <code>&lt;receive&gt;</code>, and <code>&lt;pick&gt;</code> activities as soon as a matching message was received :</p>
+<div class="codehilite"><pre><span class="nt">&lt;correlationSets&gt;</span>
+  <span class="nt">&lt;correlationSet</span> <span class="na">name=</span><span class="s">&quot;PO1&quot;</span> <span class="na">properties=</span><span class="s">&quot;cor:customerID cor:orderNumber&quot;</span><span class="nt">/&gt;</span>
+  <span class="nt">&lt;correlationSet</span> <span class="na">name=</span><span class="s">&quot;PO2&quot;</span> <span class="na">properties=</span><span class="s">&quot;cor:customerID cor:orderNumber&quot;</span> <span class="nt">/&gt;</span>
+<span class="nt">&lt;/correlationSets&gt;</span>
+
+...
+
+<span class="c">&lt;!-- Assume PO1, and PO2 initialized with the same value.  --&gt;</span>
+
+<span class="nt">&lt;flow&gt;</span>
+  <span class="nt">&lt;pick&gt;</span>
+     <span class="nt">&lt;onMessage</span> <span class="na">partnerLink=</span><span class="s">&quot;Seller&quot;</span> <span class="na">operation=</span><span class="s">&quot;PurchaseResponse&quot;</span>
+                <span class="na">variable=</span><span class="s">&quot;POResponse1&quot;</span><span class="nt">&gt;</span>
+       <span class="nt">&lt;correlations&gt;</span> 
+           <span class="nt">&lt;correlation</span> <span class="na">set=</span><span class="s">&quot;PO1&quot;</span> <span class="na">initiate=</span><span class="s">&quot;no&quot;</span> <span class="nt">/&gt;</span>
+       <span class="nt">&lt;/correlations&gt;</span>
+     <span class="nt">&lt;/onMessage&gt;</span>
+  <span class="nt">&lt;/pick&gt;</span>
+
+  <span class="nt">&lt;receive</span> <span class="na">partnerLink=</span><span class="s">&quot;Seller&quot;</span> <span class="na">operation=</span><span class="s">&quot;PurchaseResponse&quot;</span>
+           <span class="na">variable=</span><span class="s">&quot;POResponse2&quot;</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;correlations&gt;</span> 
+      <span class="nt">&lt;correlation</span> <span class="na">set=</span><span class="s">&quot;PO2&quot;</span> <span class="na">initiate=</span><span class="s">&quot;no&quot;</span> <span class="nt">/&gt;</span>
+    <span class="nt">&lt;/correlations&gt;</span>
+  <span class="nt">&lt;/receive&gt;</span>
+<span class="nt">&lt;/onMessage&gt;</span>
+</pre></div>
+
+
+<p><a name="ambiguousReceive-SeeAlso"></a></p>
+<h3 id="see-also">See Also</h3>
+<p><code>&lt;[pick](pick.html)&gt;</code>,<code>&lt;[receive]&gt;</code></p></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>

Added: websites/staging/ode/trunk/content/ant-tasks.html
==============================================================================
--- websites/staging/ode/trunk/content/ant-tasks.html (added)
+++ websites/staging/ode/trunk/content/ant-tasks.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,53 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>Ant Tasks</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>Ant Tasks</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p>ODE includes a set of tasks for <a href="http://ant.apache.org">Apache Ant</a>.  The tasks more or less match the functionality of the [commandline tools|Commandline Tools].</p>
+<p>{children:depth=1|excerpt=true}</p>
+<p>{excerpt:hidden=true}a set of Ant tasks for creating and managing ODE-related artifacts.{excerpt}</p></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>

Added: websites/staging/ode/trunk/content/architectural-overview.html
==============================================================================
--- websites/staging/ode/trunk/content/architectural-overview.html (added)
+++ websites/staging/ode/trunk/content/architectural-overview.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,96 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>Architectural Overview</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>Architectural Overview</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p><a name="ArchitecturalOverview-ODE-ArchitecturalOverview"></a></p>
+<h2 id="ode-architectural-overview">ODE - Architectural Overview</h2>
+<p><a name="ArchitecturalOverview-Introduction"></a></p>
+<h3 id="introduction">Introduction</h3>
+<p>The purpose of this document is to outline the high-level architecture of Apache ODE. First, we describe the architectural objectives, then the various ODE components and how they interact. It is assumed that the reader is familiar with BPEL and the BPEL specification.</p>
+<p><a name="ArchitecturalOverview-Objectives"></a></p>
+<h3 id="objectives">Objectives</h3>
+<p>The principal objective in the development of ODE was to create a reliable, compact, and embedable component capable of managing the execution of long-running business processes defined using the BPEL process description language. The focus has been on developing small modules with minimal dependencies that could be assembled (and easily reassembled) to construct a full featured BPMS.</p>
+<p><a name="ArchitecturalOverview-Components"></a></p>
+<h3 id="components">Components</h3>
+<p>The key components of the ODE architecture include the ODE BPEL Compiler, ODE BPEL Engine Runtime, ODE Data Access Objects (DAOs), ODE Integration Layers (ILs), and user tooling. A high-level depiction of the relationships between these components is shown in FIGREF. It can be summarized as: "The compiler converts BPEL documents into a form executable by the run-time, which executes them in a reliable fashion by relying on a persistent store accessible via the DAOs; the run-time executes in the context of an Integration Layer which connects the engine to the broader execution environment ( i.e. the "world").</p>
+<p>!OdeArchitecture.png!</p>
+<p><a name="ArchitecturalOverview-ODEBPELCompiler"></a></p>
+<h4 id="ode-bpel-compiler">ODE BPEL Compiler</h4>
+<p>The BPEL compiler is responsible for the conversion of the source BPEL artifacts (i.e. BPEL process documents, WSDLs, and schemas) into a compiled representation suitable for execution. The output of the compiler is either a "good" compiled representation, or a list of error messages indicating problems with the source artefacts.</p>
+<p>The compiled BPEL representation generated by the compiler is an object model similar in structure to the underlying BPEL process document. However, the compiled representation has resolved the various named references present in the BPEL (such as variable names), internalized the required WSDL and type information, and generated various constructs ( e.g. default compensation handlers). The compiled representation (typically a file with the .cbp extension) is the sole artifact required by the BPEL runtime.</p>
+<p><a name="ArchitecturalOverview-ODEBPELEngineRuntime"></a></p>
+<h4 id="ode-bpel-engine-runtime">ODE BPEL Engine Runtime</h4>
+<p>The ODE BPEL Engine Runtime ("runtime") is found in the bpel-runtime module and provides for the execution of compiled BPEL processes. The runtime handles the dirty work of process execution by providing implementations of the various BPEL constructs. The runtime also implements the logic necessary to determine when a new instance should be created, and to which instance an incoming message should be delivered. Finally, the runtime implements the Process Management API that is used by user tooling to interact with the engine.</p>
+<p>To achieve reliable execution of processes in unreliable environments, the runtime relies on Data Access Objects (DAOs) to provide persistence facilities. The implementation of these DAOs can be customized, but is typically provided by a transactional relational database. The DAOs are described in more detail in the next section.</p>
+<p>The runtime implementation of BPEL constructs at the instance level is via ODE's Java Concurrent Objects (<a href="jacob.html">Jacob</a>) framework. <a href="jacob.html">Jacob</a> provides an application-level concurrency mechanism (i.e. it does not rely on threads) and a transparent mechanism for interrupting execution and persisting execution state. <a href="jacob.html">Jacob</a> is in very large part a Java implementation of the ACTORS [Agha] concurrency model and shares many features with process algebras such as \pi -calculus. Essentially, <a href="jacob.html">Jacob</a> provides a persistent virtual machine for executing BPEL constructs.</p>
+<p><a name="ArchitecturalOverview-ODEDataAccessObjects"></a></p>
+<h4 id="ode-data-access-objects">ODE Data Access Objects</h4>
+<p>ODE Data Access Objects mediate the interaction between the BPEL Engine Runtime and an underlying data store. Typically the data store is a JDBC relational database: in this case, the DAOs is implemented via the OpenJPA data access library. It is possible to create custom DAO implementations that employ a mechanism other than JDBC to achieve persistence, although no such implementation is provided. The BPEL Engine Runtime requires DAO objects to deal with the following persistence issues:</p>
+<ul>
+<li>
+<p>active instances -- keeping track of which instances have been created</p>
+</li>
+<li>
+<p>message routing -- which instance is waiting for which message</p>
+</li>
+<li>
+<p>variables -- the values of the BPEL variables for each instance</p>
+</li>
+<li>
+<p>partner links -- the values of the BPEL partner links for each instance</p>
+</li>
+<li>
+<p>process execution state -- the serialized state of the <a href="jacob.html">Jacob</a> "persistent virtual machine"</p>
+</li>
+</ul>
+<p>For the OpenJPA/JDBC DAO implementation, the relational structure used to provide the above is shown in FIGREF.</p>
+<p><a name="ArchitecturalOverview-ODEIntegrationLayers"></a></p>
+<h3 id="ode-integration-layers">ODE Integration Layers</h3>
+<p>The ODE BPEL Engine Runtime cannot exist in a vacuum: by itself it is incapable of affecting any interaction with the outside world. For this it relies on an the ODE Integration Layers (ILs). Integration Layers embed the runtime in an execution environment. For example, there are integration layers for AXIS2 and JBI. The fundamental function of an IL is to provide communication channels for the runtime. The AXIS2 IL achieves this by using the AXIS2 libraries to allow the runtime to communicate via Web Service interactions. The JBI IL achieves this same goal by tying the runtime into the JBI message bus.</p>
+<p>In addition to communication, an IL provides the runtime with a thread scheduling mechanisms, and manages the life-cycle of the runtime (i.e. configuring and starting the runtime).</p></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>

Added: websites/staging/ode/trunk/content/assign.html
==============================================================================
--- websites/staging/ode/trunk/content/assign.html (added)
+++ websites/staging/ode/trunk/content/assign.html Mon Nov 12 13:07:37 2012
@@ -0,0 +1,335 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>assign</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    
+
+    
+    
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>assign</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p><a href="/">Home</a></p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      <div id="content" class="grid_16"><div class="section-content"><p><a name="assign-Name"></a></p>
+<h3 id="name">Name</h3>
+<p><code>&lt;assign&gt;</code> --- {excerpt}update the values of variables with new data{excerpt}</p>
+<p><a name="assign-Synopsis"></a></p>
+<h3 id="synopsis">Synopsis</h3>
+<p>{code:xml title="Usage"}
+<assign validate="yes|no"? standard-attributes>
+   standard-elements
+   (
+   <copy keepSrcElementName="yes|no"? ignoreMissingFromData="yes|no"?>
+      from-spec
+      to-spec
+   </copy>
+   |
+   <extensionAssignOperation>
+      assign-element-of-other-namespace
+   </extensionAssignOperation>
+   )+
+</assign></p>
+<div class="codehilite"><pre><span class="o">*</span><span class="n">throws</span><span class="o">*</span> <span class="p">{{[</span><span class="n">bpel:invalidVariables</span><span class="o">|</span><span class="c1">#invalidVariables]}}, {{[bpel:selectionFailure|#selectionFailure]}}, {{[bpel:subLanguageExecutionFault|#subLanguageExecutionFault]}}, {{[bpel:uninitializedVariable|#uninitializedVariable]}}, {{[bpel:mismatchedAssignmentFailure|#mismatchedAssignmentFailure]}}, {{[bpel:uninitializedPartnerRole|#uninitializedPartnerRole]}}</span>
+
+<span class="n">h3</span><span class="o">.</span> <span class="n">Description</span>
+<span class="n">The</span> <span class="p">{{</span><span class="sr">&lt;assign&gt;</span><span class="p">}}</span> <span class="n">activity</span> <span class="n">can</span> <span class="n">be</span> <span class="n">used</span> <span class="n">to</span> <span class="n">copy</span> <span class="n">data</span> <span class="n">from</span> <span class="n">one</span> <span class="n">variable</span> <span class="n">to</span> <span class="n">another</span><span class="p">,</span> <span class="n">as</span> <span class="n">well</span> <span class="n">as</span> <span class="n">to</span> <span class="n">construct</span> <span class="ow">and</span> <span class="n">insert</span> <span class="k">new</span> <span class="n">data</span> <span class="n">using</span> <span class="n">expressions</span><span class="o">.</span> <span class="n">The</span> <span class="p">{{</span><span class="sr">&lt;assign&gt;</span><span class="p">}}</span> <span class="n">activity</span> <span class="n">can</s
 pan> <span class="n">also</span> <span class="n">be</span> <span class="n">used</span> <span class="n">to</span> <span class="n">copy</span> <span class="n">endpoint</span> <span class="n">references</span> <span class="n">to</span> <span class="ow">and</span> <span class="n">from</span> <span class="n">partnerLinks</span><span class="o">.</span>
+
+<span class="n">Each</span> <span class="p">{{</span><span class="sr">&lt;assign&gt;</span><span class="p">}}</span> <span class="n">is</span> <span class="n">made</span> <span class="n">up</span> <span class="n">of</span> <span class="n">any</span> <span class="n">number</span> <span class="n">of</span> <span class="p">{{</span><span class="sr">&lt;copy&gt;</span><span class="p">}}</span> <span class="n">entries</span> <span class="n">which</span> <span class="n">are</span> <span class="nb">each</span> <span class="n">made</span> <span class="n">up</span> <span class="n">of</span> <span class="n">a</span> <span class="s">&quot;to-spec&quot;</span> <span class="p">(</span><span class="n">lvalue</span><span class="p">),</span> <span class="ow">and</span> <span class="n">a</span> <span class="n">from</span><span class="o">-</span><span class="n">spec</span> <span class="p">(</span><span class="n">rvalue</span><span class="p">)</span><span class="o">.</span>
+
+<span class="o">-</span> <span class="p">{{</span><span class="n">ignoreMissingFromData</span><span class="p">}}</span> <span class="o">-</span> <span class="p">(</span><span class="n">optional</span><span class="p">)</span> <span class="n">Should</span> <span class="n">the</span> <span class="p">{{[</span><span class="n">bpel:selectionFailure</span><span class="o">|</span><span class="c1">#selectionFailure]}} standard fault be suppressed? </span>
+<span class="o">**</span> <span class="p">{{</span><span class="n">yes</span><span class="p">}}</span> <span class="o">-</span> <span class="n">suppress</span> <span class="n">standard</span> <span class="n">faults</span>
+<span class="o">**</span> <span class="p">{{</span><span class="nb">no</span><span class="p">}}</span> <span class="o">-</span> <span class="p">(</span><span class="n">default</span><span class="p">)</span> <span class="k">do</span> <span class="ow">not</span> <span class="n">suppress</span> <span class="n">standard</span> <span class="n">faults</span>
+
+<span class="p">{</span><span class="n">note</span><span class="p">}</span>
+<span class="n">The</span> <span class="p">{{</span><span class="n">ignoreMissingFromData</span><span class="p">}}</span> <span class="n">element</span> <span class="n">has</span> <span class="n">been</span> <span class="n">implemented</span> <span class="n">in</span> <span class="n">ODE</span> <span class="mf">1.3</span><span class="o">+</span> <span class="p">(</span><span class="n">i</span><span class="o">.</span><span class="n">e</span><span class="o">.</span><span class="p">,</span> <span class="n">it</span> <span class="n">is</span> <span class="n">coming</span> <span class="n">soon</span><span class="p">)</span><span class="o">.</span>  <span class="n">See</span> <span class="p">[</span><span class="n">ODE</span><span class="o">-</span><span class="mi">141</span><span class="o">|</span><span class="n">http:</span><span class="sr">//iss</span><span class="n">ues</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span
 ><span class="sr">/jira/</span><span class="n">browse</span><span class="o">/</span><span class="n">ODE</span><span class="o">-</span><span class="mi">141</span><span class="p">]</span> <span class="k">for</span> <span class="n">issue</span> <span class="n">tracking</span><span class="o">.</span>
+<span class="p">{</span><span class="n">note</span><span class="p">}</span>
+
+<span class="o">-</span> <span class="p">{{</span><span class="n">validate</span><span class="p">}}</span> <span class="o">-</span> <span class="p">(</span><span class="n">optional</span><span class="p">)</span> <span class="n">validate</span> <span class="n">modified</span> <span class="n">variables</span><span class="p">?</span>
+<span class="o">**</span> <span class="p">{{</span><span class="n">yes</span><span class="p">}}</span> <span class="o">-</span> <span class="n">the</span> <span class="p">{{</span><span class="sr">&lt;assign&gt;</span><span class="p">}}</span> <span class="n">activity</span> <span class="n">validates</span> <span class="n">all</span> <span class="n">the</span> <span class="n">variables</span> <span class="n">being</span> <span class="n">modified</span> <span class="n">by</span> <span class="n">the</span> <span class="n">activity</span><span class="o">.</span> <span class="n">If</span> <span class="n">the</span> <span class="n">validation</span> <span class="n">fails</span> <span class="n">the</span> <span class="p">{{[</span><span class="n">bpel:invalidVariables</span><span class="c1">#invalidVariables]}} fault is thrown.</span>
+<span class="o">**</span> <span class="p">{{</span><span class="nb">no</span><span class="p">}}</span> <span class="o">-</span> <span class="p">(</span><span class="n">default</span><span class="p">)</span> <span class="k">do</span> <span class="ow">not</span> <span class="n">validate</span> <span class="n">the</span> <span class="n">modified</span> <span class="n">variables</span>
+<span class="p">{</span><span class="n">note</span><span class="p">}</span>
+<span class="n">ODE</span> <span class="n">currently</span> <span class="n">disregards</span> <span class="n">the</span> <span class="n">value</span> <span class="n">of</span> <span class="n">this</span> <span class="n">attribute</span> <span class="o">---</span> <span class="n">validation</span> <span class="n">is</span> <span class="n">never</span> <span class="n">performed</span><span class="o">.</span>
+<span class="p">{</span><span class="n">note</span><span class="p">}</span>
+
+<span class="o">-</span> <span class="p">{{</span><span class="sr">&lt;copy&gt;</span><span class="p">}}</span> <span class="o">-</span> <span class="n">defines</span> <span class="n">a</span> <span class="n">lvalue</span><span class="p">,</span> <span class="n">rvalue</span> <span class="n">pair</span><span class="o">.</span>
+<span class="o">--</span> <span class="p">{{</span><span class="n">keepSrcElementName</span><span class="p">}}</span> <span class="o">-</span> <span class="p">(</span><span class="n">optional</span><span class="p">)</span> <span class="n">should</span> <span class="n">the</span> <span class="n">element</span> <span class="n">name</span> <span class="n">of</span> <span class="n">the</span> <span class="n">destination</span> <span class="p">(</span><span class="n">as</span> <span class="n">selected</span> <span class="n">by</span> <span class="n">the</span> <span class="n">to</span><span class="o">-</span><span class="n">spec</span><span class="p">)</span> <span class="n">be</span> <span class="n">replaced</span> <span class="n">by</span> <span class="n">the</span> <span class="n">elementname</span> <span class="n">of</span> <span class="n">the</span> <span class="n">source</span> <span class="p">(</span><span class="n">as</span> <span class="n">selected</span> <span class="n"
 >by</span> <span class="n">the</span> <span class="n">from</span><span class="o">-</span><span class="n">spec</span><span class="p">)?</span>
+<span class="o">***</span> <span class="p">{{</span><span class="n">yes</span><span class="p">}}</span> <span class="o">-</span> <span class="n">element</span> <span class="n">names</span> <span class="n">are</span> <span class="n">replaced</span>
+<span class="o">***</span> <span class="p">{{</span><span class="nb">no</span><span class="p">}}</span> <span class="o">-</span> <span class="p">(</span><span class="n">default</span><span class="p">)</span> <span class="n">element</span> <span class="n">names</span> <span class="n">are</span> <span class="ow">not</span> <span class="n">replaced</span>
+<span class="o">--</span> <span class="p">{{</span><span class="sr">&lt;from&gt;</span><span class="p">}}</span> <span class="o">-</span> <span class="n">specifies</span> <span class="n">the</span> <span class="n">rvalue</span> <span class="p">(</span><span class="n">see</span> <span class="p">[</span><span class="n">here</span><span class="o">|</span><span class="c1">#variants])</span>
+<span class="o">--</span> <span class="p">{{</span><span class="sr">&lt;to&gt;</span><span class="p">}}</span> <span class="o">-</span> <span class="n">specifies</span> <span class="n">the</span> <span class="n">lvalue</span> <span class="p">(</span><span class="n">see</span> <span class="p">[</span><span class="n">here</span><span class="o">|</span><span class="c1">#variants])</span>
+
+<span class="o">-</span> <span class="p">{{</span><span class="sr">&lt;extensionAssignOperation&gt;</span><span class="p">}}</span> <span class="o">-</span> <span class="n">a</span> <span class="n">container</span> <span class="k">for</span> <span class="n">assignment</span> <span class="n">extensions</span><span class="o">.</span> <span class="n">If</span> <span class="n">the</span> <span class="n">element</span> <span class="n">contained</span> <span class="n">within</span> <span class="n">the</span> <span class="n">extensionAssignOperation</span> <span class="n">elements</span> <span class="ow">not</span> <span class="n">recognized</span> <span class="n">by</span> <span class="n">ODE</span> <span class="ow">and</span> <span class="n">is</span> <span class="ow">not</span> <span class="n">subject</span> <span class="n">to</span> <span class="n">a</span> <span class="n">mustUnderstand</span><span class="o">=</span><span class="s">&quot;yes&quot;</span> <span class="n">requir
 ement</span> <span class="n">from</span> <span class="n">an</span> <span class="n">extension</span> <span class="n">declaration</span> <span class="k">then</span> <span class="n">the</span> <span class="n">element</span> <span class="n">will</span> <span class="n">be</span> <span class="n">ignored</span><span class="o">.</span>
+<span class="p">{</span><span class="n">note</span><span class="p">}</span>
+<span class="n">Since</span> <span class="n">version</span> <span class="mf">2.0</span> <span class="n">ODE</span> <span class="n">fully</span> <span class="n">supports</span> <span class="p">{{</span><span class="n">extensionAssingOperation</span><span class="p">}}</span> <span class="n">functionality</span><span class="o">.</span>
+<span class="p">{</span><span class="n">note</span><span class="p">}</span>
+
+<span class="p">{</span><span class="n">anchor:variants</span><span class="p">}</span>
+<span class="n">h3</span><span class="o">.</span> <span class="n">From</span><span class="o">/</span><span class="n">To</span><span class="o">-</span><span class="n">Spec</span> <span class="n">Variants</span>
+
+<span class="n">The</span> <span class="sr">&lt;assign&gt;</span> <span class="n">activity</span> <span class="n">copies</span> <span class="n">a</span> <span class="n">type</span><span class="o">-</span><span class="n">compatible</span> <span class="n">value</span> <span class="n">from</span> <span class="n">the</span> <span class="n">source</span> <span class="p">(</span><span class="s">&quot;from-spec&quot;</span><span class="p">)</span> <span class="n">to</span> <span class="n">the</span> <span class="n">destination</span> <span class="p">(</span><span class="s">&quot;to-spec&quot;</span><span class="p">),</span> <span class="n">using</span> <span class="n">the</span> <span class="sr">&lt;copy&gt;</span> <span class="n">element</span><span class="o">.</span> <span class="n">The</span> <span class="n">from</span><span class="o">-</span><span class="n">spec</span> <span class="n">must</span> <span class="n">be</span> <span class="n">one</span> <span class="n">of</span> <sp
 an class="n">the</span> <span class="n">following</span> <span class="n">variants:</span>
+
+<span class="p">{</span><span class="n">code:xml</span><span class="p">}</span>
+<span class="o">&lt;</span><span class="n">from</span> <span class="n">variable</span><span class="o">=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="n">part</span><span class="o">=</span><span class="s">&quot;NCName&quot;</span><span class="p">?</span><span class="o">&gt;</span>
+   <span class="o">&lt;</span><span class="n">query</span> <span class="n">queryLanguage</span><span class="o">=</span><span class="s">&quot;anyURI&quot;</span><span class="p">?</span><span class="o">&gt;</span><span class="p">?</span>
+      <span class="n">queryContent</span>
+   <span class="sr">&lt;/query&gt;</span>
+<span class="sr">&lt;/from&gt;</span>
+
+<span class="o">&lt;</span><span class="n">from</span> <span class="n">partnerLink</span><span class="o">=</span><span class="s">&quot;NCName&quot;</span> <span class="n">endpointReference</span><span class="o">=</span><span class="s">&quot;myRole|partnerRole&quot;</span> <span class="o">/&gt;</span>
+
+<span class="o">&lt;</span><span class="n">from</span> <span class="n">variable</span><span class="o">=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="n">property</span><span class="o">=</span><span class="s">&quot;QName&quot;</span> <span class="o">/&gt;</span>
+
+<span class="o">&lt;</span><span class="n">from</span> <span class="n">expressionLanguage</span><span class="o">=</span><span class="s">&quot;anyURI&quot;</span><span class="p">?</span><span class="o">&gt;</span><span class="n">expression</span><span class="sr">&lt;/from&gt;</span>
+
+<span class="sr">&lt;from&gt;&lt;literal&gt;</span><span class="n">literal</span> <span class="n">value</span><span class="sr">&lt;/literal&gt;&lt;/from&gt;</span>
+
+<span class="sr">&lt;from/&gt;</span>  <span class="o">&lt;!--</span> <span class="n">DO</span> <span class="n">NOT</span> <span class="n">USE</span> <span class="o">--&gt;</span>
+
+<span class="o">&lt;</span><span class="n">from</span> <span class="n">variable</span><span class="o">=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="n">extension</span><span class="o">=</span><span class="s">&quot;QName&quot;</span> <span class="o">/&gt;</span>   <span class="o">&lt;!--</span> <span class="n">non</span><span class="o">-</span><span class="n">standard</span> <span class="n">extension</span> <span class="o">--&gt;</span>
+</pre></div>
+
+
+<div class="alert alert-note">
+    The {{<from extension="QName" />}} from-spec variant is not part of the WS-BPEL 2.0 specification. It is a non-standard ODE extension. 
+</div>
+
+<p>The to-spec must be one of the following variants:</p>
+<div class="codehilite"><pre><span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="na">part=</span><span class="s">&quot;NCName&quot;</span><span class="err">?</span><span class="nt">&gt;</span>
+   <span class="nt">&lt;query</span> <span class="na">queryLanguage=</span><span class="s">&quot;anyURI&quot;</span><span class="err">?</span><span class="nt">&gt;</span>?
+      queryContent
+   <span class="nt">&lt;/query&gt;</span>
+<span class="nt">&lt;/to&gt;</span>
+
+<span class="nt">&lt;to</span> <span class="na">partnerLink=</span><span class="s">&quot;NCName&quot;</span> <span class="nt">/&gt;</span>
+
+<span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="na">property=</span><span class="s">&quot;QName&quot;</span> <span class="nt">/&gt;</span>
+
+<span class="nt">&lt;to</span> <span class="na">expressionLanguage=</span><span class="s">&quot;anyURI&quot;</span><span class="err">?</span><span class="nt">&gt;</span>expression<span class="nt">&lt;/to&gt;</span>
+
+<span class="nt">&lt;to/&gt;</span> <span class="c">&lt;!-- DO NOT USE --&gt;</span>
+
+<span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="na">extension=</span><span class="s">&quot;QName&quot;</span> <span class="nt">/&gt;</span> <span class="c">&lt;!-- ODE SPECIFIC --&gt;</span>
+</pre></div>
+
+
+<div class="alert alert-note">
+    The {{<to extension="QName" />}} to-spec variant is not part of the WS-BPEL 2.0 specification. It is a non-standard ODE extension. 
+</div>
+
+<p>A to-spec must return an lvalue. If a to-spec does not return an lvalue then a <code>bpel:[selectionFailure](selectionfailure.html)</code> will be thrown. In the context of XPath, an lvalue is a node-list containing a single node from a variable or a partnerLink identified by the to-spec (e.g. the XPath expression  <code>concat("foo""bar")</code> is not an lvalue). 
+<div class="alert alert-note">
+    XPaths used as lvalues must begin with an XPath VariableReference.
+</div></p>
+<p>Assignment is an atomic operation; that is, either all <code>&lt;copy&gt;</code> s succeed, or no changes are made.
+<div class="alert alert-warning">
+    In ODE, each {{<copy>}} is atomic.
+</div></p>
+<p><a name="assign-VariableVariant"></a></p>
+<h4 id="variable-variant">Variable Variant</h4>
+<p>Selects value stored in a BPEL variable.</p>
+<div class="codehilite"><pre><span class="nt">&lt;to</span><span class="err">|from</span> <span class="na">variable=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="na">part=</span><span class="s">&quot;NCName&quot;</span><span class="err">?</span><span class="nt">&gt;</span>
+   <span class="nt">&lt;query</span> <span class="na">queryLanguage=</span><span class="s">&quot;anyURI&quot;</span><span class="err">?</span><span class="nt">&gt;</span>?
+      queryContent
+   <span class="nt">&lt;/query&gt;</span>
+<span class="err">&lt;</span>/to|from&gt;
+</pre></div>
+
+
+<ul>
+<li><code>variable</code> - (required) name of the variable.</li>
+<li><code>part</code> - (optional) if the type of this variable is a WSDL messageType this attribute may be used to provide the name of a part within that variable. This attriubte must not be used When the variable is defined using XML Schema types (simple or complex) or element</li>
+<li><code>&lt;query&gt;</code> element may be used to select a value from the source or target variable or message part. The computed value of the query must be one of the following:
+<strong> a single XML node, for example an attribute or an element 
+</strong> text (i.e. a text node, CDATA section, string-valuedXPath-expression, etc...)</li>
+</ul>
+<p><a name="assign-PartnerLinkVariant"></a></p>
+<h4 id="partnerlink-variant">PartnerLink Variant</h4>
+<p>Allows manipulation of the endpoint references associated with partnerLinks. </p>
+<div class="codehilite"><pre><span class="o">&lt;</span><span class="n">from</span> <span class="n">partnerLink</span><span class="o">=</span><span class="s">&quot;NCName&quot;</span> <span class="n">endpointReference</span><span class="o">=</span><span class="s">&quot;myRole|partnerRole&quot;</span> <span class="o">/&gt;</span>
+
+<span class="o">&lt;</span><span class="n">to</span> <span class="n">partnerLink</span><span class="o">=</span><span class="s">&quot;NCName&quot;</span>  <span class="o">/&gt;</span>
+</pre></div>
+
+
+<ul>
+<li><code>partnerLink</code> - name of partnerLink</li>
+<li><code>role</code> - the role or "side" of the partnerLink<br />
+<strong> <code>myRole</code> -  the endpoint reference of the process 
+</strong> {partnerRole}} - the partner's endpoint reference </li>
+</ul>
+<p>For from-specs, the <code>role</code> attribute must be specified, while for the to-spec, the assignment is only possible to the partnerRole, hence there is no need to specify the role. Therefore, the to-spec can only refer to a <code>&lt;partnerLink&gt;</code> of which the declaration specifies the partnerRole attribute. The type of the value referenced by partnerLink-style from/to-specs is always a <code>&lt;sref:service-ref&gt;</code> element.</p>
+<p>An attempt during process execution to read a partner link before its partnerRole EPR is initialized results in the <code>[bpel:uninitializedPartnerRole](#uninitializedpartnerrole.html)</code> standard fault. Partner roles of partner links are read when they are referenced in an <code>&lt;[invoke]&gt;</code> or the <code>&lt;from&gt;</code> part of a <code>&lt;copy&gt;</code> in an <code>&lt;[assign]&gt;</code> activity.</p>
+<p><a name="assign-PropertyVariant"></a></p>
+<h4 id="property-variant">Property Variant</h4>
+<p>Allows data manipulation using <a href="properties.html">properties</a>. The property value generated by the from-spec is generated in the same manner as the value returned by the <code>bpel:[getVariableProperty]()</code> function. </p>
+<div class="codehilite"><pre><span class="o">&lt;</span><span class="n">to</span><span class="o">|</span><span class="n">from</span> <span class="n">variable</span><span class="o">=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="n">property</span><span class="o">=</span><span class="s">&quot;QName&quot;</span> <span class="o">/&gt;</span>
+</pre></div>
+
+
+<ul>
+<li><code>variable</code> - name of the variable referenced</li>
+<li><code>property</code> - name of the property to apply to the variable</li>
+</ul>
+<p><a name="assign-ExpressionVariant"></a></p>
+<h4 id="expression-variant">Expression Variant</h4>
+<p>In the Expression Variant, an expression language (typically XPath), is used to calculate a value. </p>
+<div class="codehilite"><pre><span class="nt">&lt;to</span><span class="err">|from</span> <span class="na">expressionLanguage=</span><span class="s">&quot;anyURI&quot;</span><span class="err">?</span><span class="nt">&gt;</span>expression<span class="nt">&lt;/from&gt;</span>
+</pre></div>
+
+
+<ul>
+<li><code>expressionLanguage</code> - (optional) identifies the expression language</li>
+<li><em>expression</em> - the expression;  syntax is determined by the expression language.</li>
+</ul>
+<p>The computed value of the expression must be one of the following:
+<em> a single XML node, for example an attribute or an element 
+</em> text (i.e. a text node, CDATA section, string-valuedXPath-expression, etc...)</p>
+<p><a name="assign-LiteralVariant"></a></p>
+<h4 id="literal-variant">Literal Variant</h4>
+<p>The Literal Variant allows a literal value to be given as the rvalue.</p>
+<div class="codehilite"><pre><span class="nt">&lt;from&gt;&lt;literal&gt;</span>literal value<span class="nt">&lt;/literal&gt;&lt;/from&gt;</span>
+</pre></div>
+
+
+<ul>
+<li><em>literal value</em> - value to be assigned</li>
+</ul>
+<p>The type of the literal value may be optionally indicated inline with the value by using XML Schema's instance type mechanism (<code>xsi:type</code>). The literal content must be either a single element or text. An empty <code>&lt;literal/&gt;</code> element is equivalent to an empty text node.</p>
+<p><a name="assign-EmptyVariant"></a></p>
+<h4 id="empty-variant">Empty Variant</h4>
+<p>The empty variant exist for extensibility purposes; it is not supported by ODE. </p>
+<div class="codehilite"><pre><span class="sr">&lt;from|to/&gt;</span>
+</pre></div>
+
+
+<p><a name="assign-VariableExtensionVariant({color:red}non-standardextension{color})"></a></p>
+<h4 id="variable-extension-variant-colorrednon-standard-extensioncolor">Variable Extension Variant ({color:red}non-standard extension{color})</h4>
+<p>The variable extension variants are non-standard extensions implemented by ODE to allow manipulation of protocol-specific properties from within a BPEL process.</p>
+<div class="codehilite"><pre><span class="o">&lt;</span><span class="n">from</span> <span class="n">variable</span><span class="o">=</span><span class="s">&quot;BPELVariableName&quot;</span> <span class="n">extension</span><span class="o">=</span><span class="s">&quot;QName&quot;</span> <span class="o">/&gt;</span>
+</pre></div>
+
+
+<ul>
+<li><code>variable</code> - message variable to read</li>
+<li><code>extension</code> - qualified name of the extension</li>
+</ul>
+<p>The variable referenced by this variant <em>must</em> be message-typed. The following extensions are supported:
+<table>
+<tr><th>Extension Namespace</th><th>Name</th><th>Description
+</tr>
+<tr><td>urn:ode.apache.org/axis2-il/headers/</td><td>in</td><td>When using the AXIS2 integration layer, this extension returns the headers that were received with the message but that did not map to any message parts in the portType. The return value will be a wrapper element(with the same name as the  extension) containing the SOAP header elements. </td></tr>
+<tr><td>urn:ode.apache.org/axis2-il/headers/</td><td>out</td><td>When using the AXIS2 integration layer, this extension holds the headers that should be sent with the mesage but are not mapped to any message parts in the portType. The rvalue should be a wrapper element (with the same name as the  extension) containing the SOAP header elements to be sent.</td></tr>
+</table></p>
+<div class="alert alert-warning">
+    The use of this feature is not encouraged. Processes using this feature will not be compatible with WS-BPEL 2.0 conformant systems.
+</div>
+
+<p><a name="assign-InsertVariant({color:red}non-standardextension{color})"></a></p>
+<h4 id="insert-variant-colorrednon-standard-extensioncolor">Insert Variant ({color:red}non-standard extension{color})</h4>
+<p>See <a href="copy-with-insert-attribute.html">copy with insert attribute</a></p>
+<p><a name="assign-Faults"></a></p>
+<h3 id="faults">Faults</h3>
+<p>{anchor:invalidVariables}
+- <code>bpel:[invalidVariables](invalidvariables.html)</code> - A modified variable does not conform to its schema and the <code>validate</code> flag was set to <code>yes</code>. 
+<div class="alert alert-note">
+    ODE does not perform schema type validation, hence this fault is never thrown.
+</div>
+{anchor:selectionFaulure}
+- <code>bpel:[selectionFailure](selectionfailure.html)</code> - The node(s) selected by a from/to-spec is (are) invalid. This includes cases when the to-spec returns a node that is not an lvalue, when multiple nodes are selected, or when no node is selected. 
+{anchor:subLanguageExecutionFault}
+- <code>bpel:[subLanguageExecutionFault](sublanguageexecutionfault.html)</code> - Evaluating the expression (in the expression variant), or the query (in the variable variant) generated an error. For example, if a divide-by-zero is attempted.
+{anchor:uninitializedVariable}
+- <code>bpel:[uninitializedVariable](uninitializedvariable.html)</code> - The variable referenced in the from-spec has not been initialized.
+{anchor:mismatchedAssignmentFailure}
+- <code>bpel:[mismatchedAssignmentFailure](mismatchedassignmentfailure.html)</code> - The nodes selected by the to-spec and from-spec are not compatible. This could occur if for example an attempt was made to assign a text node to an element variable, or an element variable was assigned to a message variable. </p>
+<p><a name="assign-Examples"></a></p>
+<h3 id="examples">Examples</h3>
+<p>The following assigns a childless element <code>bar</code> in namespace <code>http://example.com</code> to an element-typed variable <code>myFooBarElemVar</code>:</p>
+<div class="codehilite"><pre><span class="nt">&lt;assign&gt;</span>
+   <span class="nt">&lt;copy&gt;</span>
+      <span class="nt">&lt;from&gt;</span>
+         <span class="nt">&lt;literal</span> <span class="na">xmlns:foo=</span><span class="s">&quot;http://example.com&quot;</span><span class="nt">&gt;</span>
+            <span class="nt">&lt;foo:bar</span> <span class="nt">/&gt;</span>
+         <span class="nt">&lt;/literal&gt;</span>
+      <span class="nt">&lt;/from&gt;</span>
+      <span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;myFooBarElemVar&quot;</span> <span class="nt">/&gt;</span>
+   <span class="nt">&lt;/copy&gt;</span>
+<span class="nt">&lt;/assign&gt;</span>
+</pre></div>
+
+
+<p>The following assigns the string "FooBar" to a string-typed variable <code>myStringVar</code>:</p>
+<div class="codehilite"><pre><span class="nt">&lt;assign&gt;</span>
+   <span class="nt">&lt;copy&gt;</span>
+      <span class="nt">&lt;from&gt;</span>
+         <span class="nt">&lt;literal&gt;</span>
+            <span class="cp">&lt;![CDATA[FooBar]]&gt;</span>
+         <span class="nt">&lt;/literal&gt;</span>
+      <span class="nt">&lt;/from&gt;</span>
+      <span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;myStringVar&quot;</span> <span class="nt">/&gt;</span>
+   <span class="nt">&lt;/copy&gt;</span>
+<span class="nt">&lt;/assign&gt;</span>
+</pre></div>
+
+
+<p>The following assigns the string "" (i.e. the empty string) to a string-typed variable <code>myStringVar</code>:</p>
+<div class="codehilite"><pre>   <span class="nt">&lt;copy&gt;</span>
+      <span class="nt">&lt;from&gt;</span>
+         <span class="nt">&lt;literal</span> <span class="nt">/&gt;</span>
+      <span class="nt">&lt;/from&gt;</span>
+      <span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;myStringVar&quot;</span> <span class="nt">/&gt;</span>
+   <span class="nt">&lt;/copy&gt;</span>
+<span class="nt">&lt;/assign&gt;</span>
+</pre></div>
+
+
+<p>The following illustrates copying one variable (<code>c1</code>) to another (<code>c2</code>) as well as copying a variable part (<code>address</code> part of variable <code>c1</code>) to a variable of compatible element type (<code>c3</code>):</p>
+<div class="codehilite"><pre><span class="nt">&lt;assign&gt;</span>
+   <span class="nt">&lt;copy&gt;</span>
+      <span class="nt">&lt;from</span> <span class="na">variable=</span><span class="s">&quot;c1&quot;</span> <span class="nt">/&gt;</span>
+      <span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;c2&quot;</span> <span class="nt">/&gt;</span>
+   <span class="nt">&lt;/copy&gt;</span>
+   <span class="nt">&lt;copy&gt;</span>
+      <span class="nt">&lt;from&gt;</span><span class="p">$</span><span class="nv">c1</span><span class="p">.</span><span class="nv">address</span><span class="nt">&lt;/from&gt;</span>
+      <span class="nt">&lt;to</span> <span class="na">variable=</span><span class="s">&quot;c3&quot;</span> <span class="nt">/&gt;</span>
+   <span class="nt">&lt;/copy&gt;</span>
+<span class="nt">&lt;/assign&gt;</span>
+</pre></div></div></div>
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>