BPEL
xquerysample processXQuery
XQuery processing example
Example
This example demonstrates how the XQuery program can be used in a BPEL process.
The example contains invoking the processXQuery XPath function which returns a result of XQuery program.
To build and run the example follow the steps bellow:
- 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/processXQuery/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.
- Enter "2" as id and "Kathreen Smith" as "seller" for the test form fields.
| View the source | Action |
|---|---|
| 1. XQuerySample.bpel | |
| 2. XQuerySample.wsdl | |
| 3. bpel.xml | |
| 4. invoice.xq |
OpenLink Home
Technical Support