0
votes

I'm using wso2 esb 4.8.0 salesforce connector to connect salesforce but it is not even able to login using Enterprise API

https://login.salesforce.com/services/Soap/c/29.0

But when i use partner api it works fine.

https://login.salesforce.com/services/Soap/u/29.0

why i cannot connect through enterprise API ?.

1

1 Answers

2
votes

I had a quick look at the WSO2 Salesforce Connector Documentation and the associated Zip file on GitHub.

The connector appears to be built around the Partner API. This makes sense, as the Partner API is generic and can be used with any Salesforce Org (assuming API access is enabled). Looking in the contents of the zip file there are xml files that align with the available Parther API methods.

XML files for Partner API methods.

The Enterprise WSDL in contrast is specific to the Org that generated it. This isn't suitable for a generic API wrapper as it contains objects that may only existing in one Salesforce Org.

See also: Using the Partner WSDL