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
Suzan2009Suzan2009 

Webservice callout issue

Hi Guys,

 

The senario is below. Please have a look and give me any idea. If that sounds impossilbe, other ways will be appreciated. Thanks

 

-- two Salesforce instances, one as server and the other as client

-- some apex class in server will be called using webservice technique by client apex controller + visualforce page(client app).

 

is it possible? How can I get client app login the Server first to get session Id. The app needs to get authorisation anyway.

 

Thanks  

 

Suzan

shillyershillyer

If you want 2 instances of Salesforce to integrate, the recommendation is to use Salesforce-to-Salesforce. You can setup the connection manually and they programmatically push/pull data.

 

Hope that helps,

Sati