+ Start a Discussion

How to create SOAP envelop and send it to service endpoint?

Is there any way to create SOAP request envelop and send it to service endpoint? Just like SAAJ (SOAP with Attachment API for Java). Do we have API which deal with SOAP envelop?



There is a recent article on Apex Web Services and Callouts. The callouts section talks about how to call external web services from within Apex. 


Have you seen our Outbound Messaging feature? The Force.com platform will generate a SOAP message and send it to a Web Service endpoint you specify. It's described here.


Hope that helps,