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
Debug output should look like:
3. Final WSDL for Ping and CreateandSendPackage