Prashant Chaudhari
Prashant Chaudhari

Reputation: 1339

Updating salesforce wsdl dynamically using c# code

I have .net application which creating salesforce custom object dynamically but when i am using that object in my application it does not access it. what i want to do is, i want to update the wsdl as soon as custom object created.

Upvotes: 6

Views: 1153

Answers (1)

amrcn_werewolf
amrcn_werewolf

Reputation: 841

You are probably using the Enterprise WSDL, which contains stubs for all objects. If you expect objects to change (as you do here), then you should instead use the Partner WSDL. The Partner WSDL does not contain stubs for objects; instead, the partner WSDL file defines a single, generic object (sObject) that represents all of the objects.

For more information, check out the section called "Using the Partner WSDL" in the Salesforce.com API docs.

Upvotes: 3

Related Questions