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
PatcsPatcs 

how to make a call to the API out of the class ?

Hi

 

how to make a call to the API out of the class ?

sfdcfoxsfdcfox

That's trivally difficult. What are you trying to accomplish?

PatcsPatcs

Hi SfdcFox

 

I am working on a requirement to integrate Hoovers (A third party search engine tool) with SFDC. I have to make a web service call to the hoovers api from sfdc.
            Can you help me on this?  I have done following steps.

1. I have downloaded the WSDL file from the hooves.
2. Generated an Apex class with that WSDL file (Find attachment).
3. Now how to make a call to the API out of the class ?
4. I have install soapUI tool to check the rest API but its not working.

 

Thanks in advance!

kiranmutturukiranmutturu

give the URL( to which site that u sending a call) in remotesite settings and create a apex class to invoke the respective service to call the repective method in the generated WSDL....

AruAruAruAru

Can you please provide some code samples