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
Kalpana ReddyKalpana Reddy 

Invoking web sevices

Is there a sample code and tutorial as how I can invoke an external webservice from visualforce page or apex code.

I also want to know how I can expose web services within force.com platform so that my external application can invoke that.

 

so basically I need web services inbound and outbound from sfdc. Any tutorials or documentation for that?

 

Thanks,

Kalpana

sfdcfoxsfdcfox

There are many resources on how to do so in Force.com.

 

Start here: http://wiki.developerforce.com/page/Apex_Web_Services_and_Callouts

 

You'll be able to see how to create inbound and outbound message types. Also, refer to the Apex Code Developer's Guide for more information regarding REST services, the "webservice" keyword (for inbound messaging), and the section related to generating Apex Code from a WSDL (to call out to a web service).