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
  • alok176 There are two different part in this :
    PART A - SERVICE SIDE :
    The flow is exposed as a web service (you need to configure from the menu System > Web Services > Services which flow to be used etc, By hitting the url of the service you get the WSDL related to this service). The parameters that contain the values you want to return should be Hidden NO, Parameter YES. Hide all parameters you dont want in the response.The flow itself should be chained up to the point you update the variables that you need to return. The response of this service returns when the chaining ends.
    PART B - THE CALLER SIDE :
    If you are going to consume the Web Service frim Appian, you need to use the Web service smart node. However, the custom node is only returning the id of the instance called by default. So in this smart node you need to update with your custom Java code so that it can capture more info.
    Please let me know if this was clear enough!
Reply
  • alok176 There are two different part in this :
    PART A - SERVICE SIDE :
    The flow is exposed as a web service (you need to configure from the menu System > Web Services > Services which flow to be used etc, By hitting the url of the service you get the WSDL related to this service). The parameters that contain the values you want to return should be Hidden NO, Parameter YES. Hide all parameters you dont want in the response.The flow itself should be chained up to the point you update the variables that you need to return. The response of this service returns when the chaining ends.
    PART B - THE CALLER SIDE :
    If you are going to consume the Web Service frim Appian, you need to use the Web service smart node. However, the custom node is only returning the id of the instance called by default. So in this smart node you need to update with your custom Java code so that it can capture more info.
    Please let me know if this was clear enough!
Children
No Data