BPEL
clrexec .NET Execution
.NET Execution BPEL4WS process
Example
This example demonstrates how the C# code can be embedded in a BPEL process.
The example contains .NET code which gets data from BPEL variable, prints string to the console and returns string.
To build and run the example follow the steps bellow:
- Initialize "CLRAssembliesDir" configuration field at BPEL UI 'Configuration' tab with the directory name where the dlls from the distribution are located ( t.e. OpenLink.Data.VirtuosoClient.dll, virt_bpel4ws.dll etc). If you have problems initializing this CLRAssembliesDir, ask your system administrator to initialize this directory for you (and copy all needed DLLs there) or to tell you where this directory is located.
- Make sure you are running CLR or Mono enabled server (virtuoso-odbc-clr-t, virtuoso-odbc-mono-t, etc).
- Login into the BPEL UI via http://host:port/BPELGUI.
- From the 'Home' tab page go to section 'Tasks' and click 'Upload Process' link. Another way is to choose 'Processes' tab and go to the 'Process Upload' sub-tab.
- For the given entry form in the "Load Deployment Descriptor URI" field type 'http://host:port/BPELDemo/clr_exec/bpel.xml'.
- Choose the 'Import Process' button.
- Choose the 'Compile process' button.
- If compilation succeeds, will go to the 'Processes' page where the process will be in the given processes list.
- To test the process click "Test" in the listing. This goes to a page allowing you to enter a start message for creating a new instance of this process.
| View the source | Action |
|---|---|
| 1. bpel.xml | |
| 2. clr_exec.bpel | |
| 3. clr_exec.wsdl |
OpenLink Home
Technical Support