Presentation is loading. Please wait.

Presentation is loading. Please wait.

WS-Freefluo-VLAM Tutorial Spiros Koulouzis. Outline Get the WS-Freefluo-VLAM (GUI) Start the WS-Freefluo-VLAM (GUI) Generate modules from WSDL Compose.

Similar presentations


Presentation on theme: "WS-Freefluo-VLAM Tutorial Spiros Koulouzis. Outline Get the WS-Freefluo-VLAM (GUI) Start the WS-Freefluo-VLAM (GUI) Generate modules from WSDL Compose."— Presentation transcript:

1 WS-Freefluo-VLAM Tutorial Spiros Koulouzis

2 Outline Get the WS-Freefluo-VLAM (GUI) Start the WS-Freefluo-VLAM (GUI) Generate modules from WSDL Compose web service based workflow Execute web service based workflow Use the ProxyWS

3 Download the GUI from: http://allthecode.googlecode.com/files/dist.gui.ws.tar.gz http://allthecode.googlecode.com/files/dist.gui.ws.tar.gz Download the example worklfows and modules from: http://allthecode.googlecode.com/files/workflows.tar.gz http://allthecode.googlecode.com/files/workflows.tar.gz Untar both archives: 'tar xzf workflows.tar.gz' 'tar xzf dist.gui.ws.tar.gz' Go into the extracted gui directory: 'cd dist.gui.ws' Start the gui: 'java -jar gui.ws.jar' Get the WS-Freeflou-VLAM workflow composer (GUI)

4 Since the module directory is not defined the first window is a warning. Press ok. De-select the demo mode Specify as the MDF the 'workflows' directory. Start the WS-VLAM GUI

5 Load the web service tasks. Add the location of the WSDL. Press enter and select generate modules. Load the web service tasks. Generate modules from WSDL

6 Generate two set of modules. One for:htttp://elab.science.uva.nl:7080/a xis1.4/services/SearcherWS?wsdl And one for:htttp://elab.science.uva.nl:7080/a xis1.4/services/NERecognizerService? wsdl Go to File->new to start a new gui (this is to load the new modules) Generate modules from WSDL

7 Compose web service based workflow Drag and drop the module on to the design window Expand the module tree and locate the search module

8 Expand the module tree and locate the input module. This is a convenience module to provide web service methods with input Compose web service based workflow Connect the string module to the search module. Do that for all inputs of the search module.

9 Compose web service based workflow To set the input values, select the on the string module the parameter tab This module takes the search parameters. So from the top to the bottom string modules the parameters are: Index name: 'newIndex' The query: 'go' The maximum number of results: '99999' The field to look at: 'content'

10 Compose web service based workflow Expand the module tree and locate the NErecognize module. Connect the serach output the 1 st NErecognize input. Provide the NErecognize with the rest of the inputs. This module takes the NErecognize parameters. So from the top to the bottom string modules the parameters are: r_type: 'News' Input type: 'xml' Output type: 'NElist'

11 Execute web service based workflow The workflow is ready to execute. Press here to start. The result can be seen on the bottom of the GUI If the size of the return results from the query is big, it can cause the execution to fail. To prevent this from happening we can use the ProxyWS, which is deployed on the same container

12 Use the ProxyWS To use the ProxyWS, we have to add it's modules to the GUI. As expatiated earlier, we can create the ProxyWS modules from the WSDL:http://elab.science.uva.nl:7080/axis1.4/services/Pro xyService?wsdl. Now we can create the second workflow, or open: \workflows/testWF/searchAnd NERProxy.xml'

13 Use the ProxyWS The parameters of the callService module are: Target Service name:'SearcherWS' Method to execute: 'search' Array of arguments: 'newIndex','go','9999','content' After the workflow is executed the result is not return back to the GUI, but instead a URL is returned. For now due to a bug the URL is not correct so instead of http://146.50.22.71:8080/axis/HTT PTransport?-XXXXXX you have to use http://146.50.22.71:7080/axis1.4/ HTTPTransport?-XXXXXX So you can paste this url to your web browser to get the result If the ProxyWS is configured correctly, the this Url can be a GridFTP, SRM, LFC or any other protocol VBowser supports.


Download ppt "WS-Freefluo-VLAM Tutorial Spiros Koulouzis. Outline Get the WS-Freefluo-VLAM (GUI) Start the WS-Freefluo-VLAM (GUI) Generate modules from WSDL Compose."

Similar presentations


Ads by Google