Return response from SOAP Service

Certified Lead Developer
Hi All,
is there any way to return the response as Text or Any Type, generally when we expose our process model as a SOAP Service, that only returns Process ID as the response, as an End User who belongs to Non-Appian environment, the process id does not make any sense to them, so instead of process id we need to return response in form of SOAP Envelope, is there anyway to achieve this. Also i do not want to go for Web-API.

If anyone have achieved the Response as SOAP Envelope from SOAP service hosted in Appian, please suggest me

Thanks..

OriginalPostID-258920

  Discussion posts and replies are publicly visible

Parents
  • Hi aloks176,

    we had to make a custom smart service to wrap the response back but the code is property of the client and I cannot post it to you.

    However here is how you can do it, if you or someone else in your team is familiar with Java: Open the smart node web service source, you need to modify the standard node on the point that returns the result. There you should add your custom come to add the information you need (I think you just add it as string at this point and the rest of the code transforms it in the correct format) Then add chaining from the beginning of the flow up to the point you have updated your variables.
Reply
  • Hi aloks176,

    we had to make a custom smart service to wrap the response back but the code is property of the client and I cannot post it to you.

    However here is how you can do it, if you or someone else in your team is familiar with Java: Open the smart node web service source, you need to modify the standard node on the point that returns the result. There you should add your custom come to add the information you need (I think you just add it as string at this point and the rest of the code transforms it in the correct format) Then add chaining from the beginning of the flow up to the point you have updated your variables.
Children
No Data