02-02-2012 09:53 AM
I am trying a very simple workflow.
I have defined an output variable "Result" for the process & setting its values inside the process.
Now when I invoke the process through a WebService call, I don't see that output variable's value in the response XML.
Any thought why so ?
Below is what I get as response XML that I am getting, when I call above process through SOAP UI.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<StartNewScaleTestResponse xmlns="http://tempuri.org/">
<StartNewScaleTestResult xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:guid>c5b6abed-4446-655a-84a0-2012bcb521f1</a:guid>
</StartNewScaleTestResult>
</StartNewScaleTestResponse>
</s:Body>
</s:Envelope>
I don't see the "Result" varaible's value here.
02-02-2012 10:58 AM
Hi,
It does not return in that XML. Nor does the NBWS function like that exactly.
You must make the call into the NBWS to start the process. Then you must call the ProcessInstance?WSDL
or the process instance WSDL to get the output variables. You will see methods for GetOutputVariablesFor
See the screenshot below.
Calling that with the GUID from your first call (to start the process) will return you the output variables.
02-24-2012 06:57 PM
In addition, you will need to poll the process status until process is not active. When process completes you should be able to obtain the output variable values
Sent from Cisco Technical Support iPad App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide