PFA the document wherin I am trying to call the RESTfull webservice with GET method in a custom workflow. All the steps are already defined in the document.
PFA the document wherin I am trying to call the RESTfull webservice with GET method in a custom workflow. All the steps are already defined in the document.
Hey Avinash,
Please follow the below steps
1. Start Node
2. SQL Node (select 'x' as variable from dual)
3. Rest Web Service Node (Response, select Properties, Variable Name=var1 and Variable Scop=Job and Value='${jobUserData_variable}]
4. Stop
5. Now run your created workflow.
Its should run.
Regards,
Hemanth
Hi Hemanth,
Thanks for quick response. Our issue is with calling a webservice with GET parameter and handling the response as XML and JSON.
1. It will be helpful if you can share how to handle webservice
"https://<server-ip><port>/aveksa/command.submit?cmd=getLoginInstructions" with GET parameter.
2. And also how to integrate the webservice which has JSON/XML response?
Example: http://192.168.56.103:128/SpringServiceSample/service/greeting/avinash
Request parameter= avinash
Response:
Can you please share how to integrate this webservice?
You're on the right track. Mainly what you're missing is the "response" configuration, where you need to pull values out of the response, and shove them into workflow variables.
In the example below, the variable name is the name that you want the workflow variable to be named.