10 votes
Accepted

Use cases for Enterprise WSDL vs Partner WSDL

A critical difference between the two is how change is handled i.e. what needs to be done when the org the WSDLs are generated from's structure changes - when new fields and objects being added. In ...
Keith C's user avatar
  • 135k
3 votes

Is there any reason behind Enterprise wsdl being recommended for Customers over partner wsdl

Personally, I've never used the Enterprise WSDL for anything other than quick one off integrations that aren't going to be around for very long. Why? While it's handy having the strongly typed ...
Daniel Ballinger's user avatar
3 votes
Accepted

Enterprise WSDL and polymorphism

This is the in-variant vs co-variant scenario on Generic Lists. See Covariance and Contravariance in Generics. That's the computer science explanation, but I find an example easier to work through. ...
Daniel Ballinger's user avatar
3 votes

Is there any reason behind Enterprise wsdl being recommended for Customers over partner wsdl

This Knowledge Article might help you for understanding Why Enterprise WSDl is recommended for customers Differences Between Enterprise and partner WSDl
Viswanath Josyula's user avatar
2 votes
Accepted

Generated SforceService.cs file from enterprise.wsdl is enormous. How to condense?

Salesforce provides two main WSDLs for accessing your orgs data via SOAP. Enterprise WSDL This is a strongly typed WSDL that is bound to the specific org it was generated from. It will have elements ...
Daniel Ballinger's user avatar
2 votes

How to control the Timeout for Enterprise WSDL for Salesforce integration

The session of Enterprise WSDL is governed by Session Settings by your administrator .You can navigate to SetUp | Security Controls | Session Settings to set the timeout value The default is 120 ...
Mohith Shrivastava's user avatar
2 votes

Salesforce Wsdl not valid any more

Actually, it is a bug. It's due to the fact that the ListViewRecord object only has a single elements, "columns", which is a collection of ListViewRecordColumn objects. .NET reads the WSDL, but skips ...
Craig Brunetti's user avatar
2 votes
Accepted

PHP Soap API - Create Custom Object Record - No fields provided in an external foreign key reference in entity

I've solved this by running the API call describeSObject against my custom object. Looking through the result, I noticed that the record type field's name was instead RecordTypeId There was also a ...
Matt's user avatar
  • 131
2 votes

Is there any reason behind Enterprise wsdl being recommended for Customers over partner wsdl

The security will be the same. The general rule of thumb is if you are writing code for a specific org, then the Enterprise WSDL will be easier to use. This is because code generation tools will be ...
dana's user avatar
  • 1,067
2 votes
Accepted

WSDL Enterprise API: sessionSecondsValid 0 while logging from a certain machine

It sounds like your prod box is using an older API version where the sessionSecondsValid property didn't exist (and so you'd see the default of 0 in your code).
superfell's user avatar
  • 7,900
1 vote
Accepted

Unable to login to Salesforce using SOAP API

After additional research and changes to the code, I was finally able to connect (I think) to the organization. Next up...performing a Query. Here is my updated code for completeness: static ...
Bob P's user avatar
  • 31
1 vote
Accepted

Error when generating a JAR with Enterprise WSDL

My JAVA_HOME was set to an oracle version. when I corrected it, the error disappeared and jar files were generated.
Isuru Buddhika Herath's user avatar
1 vote
Accepted

Wsdl2apex - Some values not received by SAP

Ensure you have also updated the field_order_type_info for each class that contains the field data and that each property has a corresponding *_type_info string array. You might have and have ...
Daniel Ballinger's user avatar
1 vote
Accepted

Why is date/number/boolean data type ignored for create using Enterprise WSDL

One possibility is that they aren't setting the "Specified" properties that go with each field in the Enterprise API when it is proxied into a .NET project. If you look at the complex type for ...
Daniel Ballinger's user avatar
1 vote

Retrieving enterprise WSDL via SOAP API endpoint?

There isn't a SOAP API to retrieve the Enterprise WSDL. That would be a bit circular, as the Enterprise WSDL itself is for the SOAP API. The CURL instructions that you linked to are about as good as ...
Daniel Ballinger's user avatar
1 vote
Accepted

Custom Login method to access custom SOAP Web services

Yes, you could write your own custom logic, but there's no reason to reinvent the wheel when it's in the existing documentation. It's a lot of work and not very "reusuable". Further, the Partner WSDL ...
crmprogdev's user avatar
  • 40.9k
1 vote
Accepted

Upgrade SOAP API from12.0 to 42.0 (Uses SforceServiceStub methods)

The PackageVersionHeader is optional, so you can safely omit it if you aren't using any managed packages or are happy to the the API versions specified when you exported the Enterprise WSDL. If ...
Daniel Ballinger's user avatar
1 vote

Insert bulk data in ContentVersion with Bulk API

I think you should be able to upload Content by using Salesforce Dataloader. Please refer below link for more detail : https://help.salesforce.com/apex/HTViewHelpDoc?id=loader_content.htm While ...
Ashish's user avatar
  • 2,362
1 vote

File Name and File Extension not displaying after uploading file into Salesforce Document

After adding this line of code: var doc = new sfdcDocument(); doc.Name = "test"; doc.FolderId = "xxxxxxxxxx"; //FolderID of Salesforce folder in which document get uploaded. doc.Type = "pdf";...
Utkarsh Dubey's user avatar
1 vote

Errors generating Enterprise.jar using wsdlc

figured it out. the issue was that I didn't get the uber.jar which is pretty confusing because I couldn't find it here Ended up getting it from here. Works fine. http://central.maven.org/maven2/com/...
J. Zhang's user avatar
  • 313
1 vote

Are the enterprise WSDL endpoints for Sandbox & Production the same (now)?

The ID at the end of the Enterprise WSDL URL is the VersionSet ID. https://login.salesforce.com/services/Soap/c/39.0/0DF1000000000001 It encodes the managed package version selections when the ...
Daniel Ballinger's user avatar
1 vote

Create Contacts by Java SOAP API

Not sure when you're getting this error, but could it be that you're not setting the AccountId on the Contact object and it's required?
user1810305's user avatar
1 vote
Accepted

Salesforce web service in java limiting results to 500 records

Query results are broken up in to chunks once they reach a certain size, you need to use the queryMore call to fetch the next chunk. typically you end up with a loop like qr = sfdc.query(soql) ...
superfell's user avatar
  • 7,900
1 vote

Insert/Update multiple records in salesforce using webservice

See the treesave API pilot: It lets you save records in hierarchy via the rest API. https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm
Shane McLaughlin's user avatar
1 vote
Accepted

Salesforce Integration Error

You can debug it in below steps : Check if WSDL has this object (If its enterprise WSDL) Check if there is any change in API in destination Org. Check profile of running user if it has access to this ...
Jitendra Zaa's user avatar
  • 3,102
1 vote

Get sessionId/ serverUrl with login webservice soapUI

You don't need to define the <urn:LoginScopeHeader> as part of the login API call unless you are authenticating a Self-Service user against a specific org and portal. If that isn't the case you ...
Daniel Ballinger's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible