function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JacobusJacobus 

Calling methods from outbound message workflow url

Hi,

 

I am new to outbound message workflow and would like to know how one would call a method when specifying your endpoint url.

 

 

I came accross this article - http://developer.force.com/cookbook/recipe/sending-outbound-messages-with-workflow and noticed that they call an external webservice as follows - http://localhost/salesforce/"MyWebService".asmx.

It does not specify a method to use within your web service.

 

Thank you,

JitendraJitendra

Hi,

 

In Webservice the Web methods are known as Operations. So you will need to specify the opeartion name in URL,

 

Example : http://localhost:1115/v150/WebserviceTest.asmx/HelloUser?name=MFS

 

In Above Example :

HelloUser - is method name and name is argument.

 

I hope it will help you

JitendraJitendra

And also,

 

It is not ncessary that Outbound message can invokle only SOAP based webservice. It can invoke any URL and most of the time REST is preferred.