function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
patelankurbpatelankurb 

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?

 

aalbertaalbert

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. 

shillyershillyer

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,

Sati