You need to sign in to do that
Don't have an account?
First integration help
Hi,
I am writing my first integration between one salesforce to another salesforce.
In First salesforce, I wrote one simple web service class which will create a new account based on the information coming from another salesforce.
In second salesforce, I have used workflow rule with any new account created here will send a outbound message to first salesforce .Outbound message has endpoint URL which has been generated by first salesforce class wsdl generated by salesforce.
but when I create account in second salesforce then sends the request but getting a error of "INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session".
So can any help me to understand the issue:
- Why this error?
- I guess that UserID and Pwd not passed so how to do that?
- Do this require same user credential.
Please help
Regards,
mktg
Hi mktg,
I think the problem is that you cannot make calls between Salesforce orgs in this way - only external clients can call your web service, and your workflow can only call an external web service. You should look at the 'Salesforce to Salesforce' feature - http://wiki.developerforce.com/index.php/An_Introduction_to_Salesforce_to_Salesforce and https://help.salesforce.com/apex/HTViewHelpDoc?id=business_network_intro.htm&language=en
Cheers,
Pat
Meant to add - if you want a simple way to test your workflow then http://www.postbin.org/ works great.
Cheers,
Pat