Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 582
Prashant Chaudhari Avatar asked Feb 23 '13 13:02

Prashant Chaudhari


1 Answers

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.

like image 89
amrcn_werewolf Avatar answered Nov 14 '22 14:11

amrcn_werewolf