[SalesForce] Outbound message Error SOAP response was a nack

Can you please help us to resolve the error i banging my head from two weeks not able to find the root cause and we have outbound message it will fire every one hour if criteria meets. the problem was outbound message not sending the Ack message .when we check the outbound monitoring status Delivery failure status displaying as "Soap resoponse was Nack".does have any solutions to resolve this

Best Answer

Outbound messages need an acknowledgement from the endpoint you fire. That acknowledgement is nothing but a soap message with an ack field returning true.

<?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>
        <element name="notificationsResponse">
            <Ack>true</Ack>
        </element>
    </soapenv:Body>
</soapenv:Envelope>

You have to ask your endpoint developer to send the above soap message.(Or just above raw XML) it should be enough for SF to accept that outbound message was successful/

Related Topic