You need to sign in to do that
Don't have an account?
hihomey
Setting API endpoint for sandbox users
Hi,
We're an AppExchange offering and sandbox users are installing our app. Our backend system interface logs in (via Java) with the user's credentials and it appears that the correct endpoint is not being returned. My understanding is that we need to set the endpoint header to test.salesforce.com.
Is there a way via the API to identify sandbox users so that we can handle the SOAP header differently in a programmatic way?
Thanks
Superfell
No, the user will need to indicate at login time that they're using credentials for sandbox, and you'll have to route the request accordingly.