You need to sign in to do that
Don't have an account?
Outbound message hits webservice continously
have a webservice written in .net which gets the request from the outbound message and sends the response. But salesforce keeps hitting my application and it still waits in outbound queue. How do I stop salesforce to hit the application once the response is received? Following is my code sample
notificationsResponse INotificationBinding.Pur(PTrans.notifications PurP)
{
string id,session = null;
PTrans.notifications test = PurP;
session = test.SessionId;
string url = test.EnterpriseUrl;
PTrans.Transaction__cNotification[] request = PurP.Notification;
PTrans.notificationsResponse response = new notificationsResponse();
response.Ack = true;
return response;
}
When I tested with soapui, I get the following response,
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<notificationsResponse xmlns="http://soap.sforce.com/2005/09/outbound">
<Ack>true</Ack>
</notificationsResponse>
</soap:Body>
</soap:Envelope>
notificationsResponse INotificationBinding.Pur(PTrans.notifications PurP)
{
string id,session = null;
PTrans.notifications test = PurP;
session = test.SessionId;
string url = test.EnterpriseUrl;
PTrans.Transaction__cNotification[] request = PurP.Notification;
PTrans.notificationsResponse response = new notificationsResponse();
response.Ack = true;
return response;
}
When I tested with soapui, I get the following response,
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<notificationsResponse xmlns="http://soap.sforce.com/2005/09/outbound">
<Ack>true</Ack>
</notificationsResponse>
</soap:Body>
</soap:Envelope>
Is it the same outbound message you see in the queue.
Regards,
Satish Kumar
Could you please suggest how you got the outbound message response and update a field in salesforce.
Its urgent please, can you please provide a solution.
Thanks in advance.
Hi
you need to make sure your integration user who is sending update to SF don't have "Send outbound Message" permission. This is case of the infinite loop.
Thanks
Rajat