Tuesday, May 28, 2013

Salesforce.com and Web Service Integration

Get Response From External Website

1. Apex Class TestPing with DoPing() method

Using Ping instead of CreateandSendPackage for brevity – Just replace SOAPXMLBody string with the above and change your Username, Password and AccountID with yours.  You will need to break out over several string concatenations aka

SOAPXMLBody = SOAPXMLBody + "big long string";

2.  Immediate execution code from Salesforce System log or Eclipse

SalesForce System Log Debug Output


Debug output should look like:

3.  Final WSDL for Ping and CreateandSendPackage

No comments:

Post a Comment