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
MiddhaMiddha 

Using Salesforce webservice in another Salesforce instance

Hi,

I am trying to create a plugin, which communicated between 2 salesforce instance. Example creation of an account in once instance creates the same in another.

Can i create and export an APEX class as WSDL from one instance and use it on another? If yes, how do i login into other instance.

OR is there some better way to do this? Please advise.

GreatG

RickyGRickyG
GreatG -

Have you looked at Salesforce to Salesforce

MiddhaMiddha
Hi Rick,

Yes i did, but my requirement is to process multiple objects and insert it into another object in other instance and visa versa, where salesforce to salesforce doesnt works.

So i was looking into APEX, if can find a workaround.
BabugarhBabugarh

May I know what you did to solve this issue?