C# Class Microsoft.AspNet.WebHooks.SalesforceSoapWebHookReceiver

Provides an IWebHookReceiver implementation which supports Salesforce SOAP-based Outbound Messages as a WebHook. A sample WebHook URI is of the form 'https://<host>/api/webhooks/incoming/sfsoap/{id}'. For security reasons, the WebHook URI must be an https URI and the 'MS_WebHookReceiverSecret_SalesforceSoap' application setting must be configured to the Salesforce Organization IDs. The Organizational IDs can be found at http://www.salesforce.com under Setup | Company Profile | Company Information. For details about Salesforce Outbound Messages, see https://help.salesforce.com/htviewhelpdoc?id=workflow_defining_outbound_messages.htm.
Inheritance: Microsoft.AspNet.WebHooks.WebHookReceiver
ファイルを表示 Open project: aspnet/WebHooks

Public Methods

Method Description
ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task

Private Methods

Method Description
GetShortOrgId ( string fullOrgId ) : string
ReadResource ( string name ) : string

Method Details

ReceiveAsync() public method

public ReceiveAsync ( string id, System.Web.Http.Controllers.HttpRequestContext context, HttpRequestMessage request ) : Task
id string
context System.Web.Http.Controllers.HttpRequestContext
request System.Net.Http.HttpRequestMessage
return Task