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
mr.sollismr.sollis 

Workflow / Outbound Message Error.

Hello,

I am getting an error with my outbound message sent from a workflow on the lead.

The outbound message sends the lead(s) to my script which will apply some processing if the lead meets the right criteria.

I then return this, where Ack is true or false:

Code:
<—xml encoding="UTF-8" version="1.0">
<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">
  <Ack>false</Ack>
  </notifications>
 </soapenv:Body>
</soapenv:Envelope>

The error I am getting is SOAP Repsonse was a NACK. Any ideas here? My application does not load up the wsdl, it simply parses what is sent. Many thanks.



Message Edited by mr.sollis on 02-01-2008 01:31 PM
SuperfellSuperfell
If you're not using the WSDL directly, then i'd highly recommend you use one of the WSDL/SOAP diagnostic tools to verify you messages do conform the schema, it saves a lot of guesswork. In this case, your response should be a notificationsResponse element not a notifications element.
mr.sollismr.sollis
I changed the reponse as your suggested.  I am still getting the same error.

anything else that could throw the error?