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
AmitpAmitp 

create a SOAP message in APex code

Hi all
          I am trying to create a SOAP message in apex code and want to send it to a servlet ( i will process the mesage xml in my servlet ), because i don't have a webservice running on the other end. i have a simple servlet running on other end and i want to send an id of a object in to that servlet. Can anybody give me any idea how to create a mesage and send it. Any idea about apex classes to send the message or any apex api docs.

Thanks in advance.

MP


benjasikbenjasik
You can make callouts today by uploading a wsdl, or using the remoteproxy function in the ajax toolkit.  There are new features in the upcoming Winter release to make more generic http callouts.