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

"-api" added to SoapBindingStub.ENDPOINT_ADDRESS_PROPERTY



I am developing code using salesforce ws and I'm retrieving the endpoint url for purposes for redirecton in my webapp. However the SoapBindingStub.ENDPOINT_ADDRESS_PROPERTY has a -api in it -  


shows up as


Is this always consistent. If I write code to strip out the "-api" in Java, can I bank on Salesforce to maintain that format consistent.




No, you can't bank on salesforce to keep the format consistent. Why do you want to strip the -api from the endpoint URL ?