Author |
Message |
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Hello,
Can we call Soap service (WSDL) in Engagement Designer application like calling Rest Service.
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
yes it should be same way
the http endpoint for ths SOAP service would be the url in REST task
the body you can put in body of REST ask, if you have parameters in body they need to be specifed similar to other parameters in REST task with {param} syntax, then you can hit retrieve input schema and do input mapping
there are sxon->xml and xml->json functions to go back and forth between json data and xml data in dat amapper
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Thanks Anurag for replying,
So can I pass my xml data in the input of service and retrieve output data in xml.
Or I need to convert my xml data to json before sending request.
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
It should be ok to send xml to service, if service returns xml - > you would have to convert it to json before you can use it further. Moreover you may have to hand write json schema for output value and use it in output schema of REST task
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
How can I write json schema for output value. You have some example how to do this , that will be great.
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
you can use some combination of online tools available
assuming you have some smale xml output from your webservice
you can feed it to
https://www.freeformatter.com/xml-to-json-converter.html
that would give you json from xml
you can then give that json document to say
https://www.liquid-technologies.com/online-json-to-schema-converter
and get the json schema
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Thanks Anurag for your help.
One more question you know about the 'READ FROM DB' task.
When I Drag and Drop Read DB task, there is nothing listed in the db profile drop down.
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
you first have to go to SMGR attributes (EngagementDeisnger attributes) and configure DB profiles, then only can you see profiles in db task, please refer dev guide on how to use DB task
|
|
|