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
lavulavu 

how to call webservice

Synchronous call from SF.com to any simple Web Service hosted behind  firewall

sdetweilsdetweil

uh..

if this is a SOAP webservice

 

get the webservice wsdl

create an apex class from the wsdl

create a vf page and controller

instantiate the webservice class in the controller

call the webservice thru the instance

 

if this is a REST web service, see the

http://boards.developerforce.com/t5/REST-API-Integration/bd-p/integration

board section

 

you will also have to register the webservice host URL in the remote site settings to enable the outbound call.

 

Sam

lavulavu

Can u please explain me with example iam new to this

sdetweilsdetweil

do you do object oriented programming? need it for salesforce.

 

do you understand how to do steps 1 - 4?

 

Sam