Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in Salesforce by (11.9k points)

I am using Azure Functions to build some integrations between various systems. I new requirement is to respond to record updates in Salesforce. Some quick research yielded what seems like a good solution from the Salesforce side. Use Outbound messaging which can send SOAP requests on record modifications.

How to create a Salesforce application that will send a record to external web service when record created/changed(https://salesforce.stackexchange.com/questions/73425/how-to-create-salesforce-application-that-will-send-record-to-external-web-servi)

The challenge now is to be able to create a SOAP listener in Azure Function. I have created basic HTTP Triggers for my other listeners. Is there anything "built-in" to Azure Functions that would allow me to easily consume the incoming SOAP request?

Salesforce has the basics for a solution based on a more traditional web service and an ASMX file but I am not sure if or how that can be applied in Azure Functions. (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_om_outboundmessaging_listener.htm)

1 Answer

0 votes
by (32.1k points)
edited by

For Integration, change the webHookType property value to sfsoap and save the configuration. Your function.json config should look like the following:

function.json:

{

  "bindings": [

    {

      "type": "httpTrigger",

      "direction": "in",

      "webHookType": "sfsoap",

      "name": "req"

    },

    {

      "type": "http",

      "direction": "out",

      "name": "res"

    }

  ],

  "disabled": false

}

Become a salesforce certified administrator by going for Intellipaat’s Salesforce course! 

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.5k answers

500 comments

108k users

Browse Categories

...