- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Does anyone have any experience using CreateWorkflowFromModelId method on the nms:operation schema?
I've tried to call it using a valid workflow template, but every time it returns "0" for the plWorkflowId, and there is no workflow object being created. I use SOAPUI to make the call using the nms:operation schema WSDL.
I've also tried adding an operationPlanning element in <urn:elemOperationPlanning>, but this also returns the same result.
Request XML:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nms:operation">
<soapenv:Header/>
<soapenv:Body>
<urn:CreateWorkflowFromModelId>
<urn:sessiontoken>XXXXXXXXXXXXXXXXXXX</urn:sessiontoken>
<urn:lModelId>1234</urn:lModelId>
<urn:elemOperationPlanning></urn:elemOperationPlanning>
</urn:CreateWorkflowFromModelId>
</soapenv:Body>
</soapenv:Envelope>
Response XML:
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="urn:nms:operation" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<CreateWorkflowFromModelIdResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns="urn:nms:operation">
<plWorkflowId xsi:type="xsd:int">0</plWorkflowId>
</CreateWorkflowFromModelIdResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<urn:elemOperationPlanning>
Solved! Go to Solution.