Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Cisco Employee

Getting output variables values in WebService Response

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 ?TEO.png

Below is what I get as response XML that I am getting, when I call above process through SOAP UI.

<s:Envelope xmlns:s="">


      <StartNewScaleTestResponse xmlns="">

         <StartNewScaleTestResult xmlns:a="" xmlns:i="">






I don't see the "Result" varaible's value here.

Cisco Employee

Getting output variables values in WebService Response


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.

--Shaun Roberts CIAC Adoption Pilot Engineering Lead
Cisco Employee

Re: Getting output variables values in WebService Response

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

CreatePlease login to create content