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
coolkrishcoolkrish 

duplicate <Notification> tags in the outbound message

Hi,

We are trying to send a simple outbound message from Call object and when I test the outbound message using putsreq.com, I see duplicate notification elements in the outbound XML.Any clue is appreciated.

Below is the XML that's generated.

<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <notifications xmlns="http://soap.sforce.com/2005/09/outbound"> <OrganizationId>00D29000000DChKEAW</OrganizationId> <ActionId>04k2900000000VsAAI</ActionId> <SessionId>00D29000000DChK!ARQAQBQFYvinET90bNEJmZuONAzXWpBITdyw.Q7rB4.MG1tFRjav72M.7R41lFGuTPKkE5MUOqpKXkvSxqhtLSvHdEm6kgpd</SessionId> <EnterpriseUrl>https://cs19.salesforce.com/services/Soap/c/41.0/00D29000000DChK</EnterpriseUrl> <PartnerUrl>https://cs19.salesforce.com/services/Soap/u/41.0/00D29000000DChK</PartnerUrl> <Notification> <Id>04l29000007rcl0AAA</Id> <sObject xsi:type="sf:Call2_vod__c" xmlns:sf="urn:sobject.enterprise.soap.sforce.com"> <sf:Id>a0429000003NfBHAA0</sf:Id> </sObject> </Notification> <Notification> <Id>04l29000007rckzAAA</Id> <sObject xsi:type="sf:Call2_vod__c" xmlns:sf="urn:sobject.enterprise.soap.sforce.com"> <sf:Id>a0429000003NfBCAA0</sf:Id> </sObject> </Notification> </notifications> </soapenv:Body> </soapenv:Envelope>