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
sfdcdeveloper1sfdcdeveloper1 

number of webeervices required for outbound messages on multiple objects

Hi,
 
I'm configuring multiple outbound messages for multiple objects.So do I have to develop multile webservices or one
webservce is enough for all the outbound messages.
 
thanks in advance
joe_armitagejoe_armitage
I have the same question. Since all outbound messages generate to the NotificationService is it better to use one service and route the message to an appropriate handler, e.g.  Opportunity vs Account etc based on the type of message or have multiple services with different contexts ?
SuperfellSuperfell
Its up to you, you can write a single service that does dispatching itself based on type, or you can let the web server handle the dispatching for you and write multiple services. Typically you'll need to massage the WSDL (or skip WSDL2Java altogether) to handle the single service, lots of types case.