You need to sign in to do that
Don't have an account?
CJDEVCONPRO
URL for the WSDL File?
Hey all, I am working on a VB.NET application that other SalesForce subscribers may use.
do I need to create my application to have them download their WSDL file first or is there an URL that they can just type in to automatically download it so the application can run?
do I need to create my application to have them download their WSDL file first or is there an URL that they can just type in to automatically download it so the application can run?
The enterprise wsdl which has all the object (contacts, accounts etc) represented is specific to a single salesforce.com instance. The partner wsdl on the other hand is the same for everyone.
When you use the enterprise wsdl, classes are created for each data object (accounts, contacts, leads etc.). These are defined essentially by the schema that is visible to the logged in user when the wsdl was generated. All salesforce.com account will have objects and fields on those objects in common. The standard objects and standard fields on those objects will be common to all. If the application you are creating is only using standard objects and standard fields, then you can use the enterprise wsdl.
The partner wsdl only contains one data object which is the SObject. All other object are cast from and to an sobject. This provides more flexibility in creating a solution that is cross instance. In other words, you can do declarative control of the data. For example, the sforce explorer allows you to enter a SOQL statement for any object using any fields (custom or standard) and works for everybody. The reason is the data is late bound to the ui and there are no concrete class with a fixed shape to contain the results. When the records are returned from the query they are in the more generic SObject class which contains basically key value pairs for the fields. These key value pairs are iterated and columns for a datatable created from the results. If you used an enterprise wsdl as the basis for this, then if the user included a custom field in the SOQL statement, .NET would complain that the data won't fit into the precompiled definition for the object.
What is you application going to do? Maybe I could provide a little direction as to how best to implement it.
Basically it is a 2 form application that will have buttons on it for users to open up certain parts of the SalesForce application.
It will work like this,
config form: three text boxes, Login, Password and URL of the frontdoor.jsp URL.
Once the user enters this information, the app will save the settings as a XML file so when the app opens again, it will not prompt the user for these settings.
then, the second form will have buttons to open different parts of the SF application. Like contacts, accounts, cases etc. there will also be a text box and buton so the user can do a quick search for a name, or a number and then SF will open up with the located data.
Make sense?
Oh, to deploy it, I just need to distibute the sforce.webservice.dll file correct?