Page History: Web Service: Web Methods for Create, Save and Execute
Compare Page Revisions
Page Revision: 2009/10/11 23:05
Web Methods for the Web Service
Web Methods provide an interface to the Web Service. This page contains a few of the often-used methods.
Create Workflow
Parameters for the Create Workflow method include:
- the Nexus Key
- the name of the workflow class
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateWorkflow xmlns="http://Jetfire.ca/WebService">
<nexusKey>string</nexusKey>
<workflowName>string</workflowName>
</CreateWorkflow>
</soap:Body>
</soap:Envelope>
Save Workflow
Parameters for the Save Workflow method include:
- the Nexus Key
- the workflow properties with their values
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SaveWorkflow xmlns="http://Jetfire.ca/WebService">
<nexusKey>string</nexusKey>
<workflowString>string</workflowString>
</SaveWorkflow>
</soap:Body>
</soap:Envelope>
Execute Method
Parameters for the Execute method include:
- the Nexus Key
- the workflow with parameter properties and the called method name
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ExecuteCommand xmlns="http://Jetfire.ca/WebService">
<nexusKey>string</nexusKey>
<workflowString>string</workflowString>
</ExecuteCommand>
</soap:Body>
</soap:Envelope>