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
sraghusraghu 

HOW TO invoke external webservice from SFDC ?

This has reference to the SFDC DEMO; http://adnsandbox.com/media/soasoa/;
Where in , Upon Click of a Button(Integrate Account Button), Apex code written on this event invokes WebService that fetches additional data from Oracle and popultes the SFDC screen.
 
How do we invoke such externa webservice from within SFDC ?
 
Can you please share APEX code behind that enables this functionality ? Any code snippet will useful.
 
Thanking you in advance for the help.
 
Cheers,
 
SrinathR
cheenathcheenath
Check out chapter 12 of the Apex language reference  [1]. It explains how
to call external soap/rest web services from APEX.

HTS,
cheenath

[1] http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf





NeetikaNeetika

Hi Sraghu,

 

I also have same requirement.

Have you find out any solution for this?