Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides information on WSO2 BPS's compliance to the final WS-BPEL 2.0 specification released by OASIS.

...

Empty variant exists for extensibility purposes. It is not supported by WSO2 BPS.

<from|to/>
Insert Variant(non-standard extension)

...

  • The following assigns a childless element bar in namespace http://example.com to an element-typed variable myFooBarElemVar:

 

 

...

Code Block
languagehtml/xml
<assign>
   <copy>
       <from><literalxmlns:foo="http://example.com"><foo:bar/></literal></from><tovariable="myFooBarElemVar"/>
   </copy>
</assign>

 

 

  

  • The following assigns the string "FooBar" to a string-typed variable myStringVar:

 

 

 

...

Code Block
languagehtml/xml
<assign>
   <copy>
      <from>
         <literal><![CDATA[FooBar]]></literal>
      </from>
      <tovariable="myStringVar"/>
   </copy>
</assign>

 

 

  

  • The following assigns the string "" (i.e. the empty string) to a string-typed variable myStringVar:

 

 

 

 

Code Block
languagehtml/xml
<assign> 
   <copy>
      <from>
         <literal/>
      </from>
      <tovariable="myStringVar"/>
   </copy>
</assign>

 

 

  

  • The following illustrates copying one variable (c1) to another (c2) as well as copying a variable part (address part of variable c1) to a variable of compatible element type (c3):

 

 

 

Code Block
languagehtml/xml
<assign>
    <copy>
       <fromvariable="c1"/>
       <tovariable="c2"/>
    </copy>
    <copy>
       <from>$c1.address</from>
       <tovariable="c3"/>
    </copy>
</assign>

 

 

  

...

Excerpt
hiddentrue
WS-BPEL 2.0 specification compliance of the WSO2 BPS.