Tag Archives: callout

Debugging SOAP Callouts

For years I thought the only way to view the raw XML of a SOAP request from Salesforce was to view the debug log in a Developer Edition org. Two problems: Sometimes it’s a hassle to get your code and … Continue reading

Tagged , , , , , | 1 Comment

Salesforce callouts and invalid SSL certs

If you’ve ever attempted to make an SSL callout to an external system from Salesforce, and the endpoint has an invalid, expired, or self-signed certificate, you’ve likely come across this very message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to … Continue reading

Tagged , , | 5 Comments

View a Stack Trace from a Salesforce Web Service callout

Recently I came across a rather odd issue regarding a Web Service callout. I had generated apex classes using wsdl2apex (aka the create class from wsdl feature within Salesforce), and attempted to initiate one of the generated callouts from a … Continue reading

Tagged , , | Comments Off