function _sf_notifications_soap_respond in Salesforce Suite 6.2
Same name and namespace in other branches
- 7.2 sf_notifications/sf_notifications.module \_sf_notifications_soap_respond()
Format and send a SOAP response message.
Parameters
boolean $tf:
Return value
void
1 call to _sf_notifications_soap_respond()
- sf_notifications_endpoint in sf_notifications/
sf_notifications.module - Menu callback for SalesForce notifications endpoint @todo Add authentication. see "Downloading the Salesforce.com Client Certificate" at http://www.salesforce.com/us/developer/docs/ajax/Content/sforce_api_ajax...
File
- sf_notifications/
sf_notifications.module, line 412
Code
function _sf_notifications_soap_respond($tf = 'true') {
print '<?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">
<Ack>' . $tf . '</Ack>
</notifications>
</soapenv:Body>
</soapenv:Envelope>
';
}