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
vrrvrr 

Query on Web service.

Hi,

 

Good day,

 

I am new to web services. I have a requirement to pull set of records from external system to Salesforce. The external system is looking for a number as input from Salesforce. The team is ready to provide WSDL as well. I know that Salesforce can consume the WSDL and parse that as Apex class. I can invoke the methods in that calss to send a request and receive a response.

 

Is it possible to receive the set of records as response and  dispaly the VF page without storing that in a custom objects?

 

If yes, how can we retrieve the list of records and process it?

 

it would be really great if someone help on this.

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
forecast_is_cloudyforecast_is_cloudy

You don't have to store the web service response in a custom object. Review the following section of the Apex Dev. guide for details on how to consume an external web service - http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_wsdl2apex.htm