function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
WahibIdrisWahibIdris 

Integration with Partner wsdl using Soap Api 33.0

Hi All,

Its a bit strange. I am trying to integrate salesforce with .Net Application to explore new Soap api 33 with the help of guide but its seems the few methods are changed. Below are some examples of error which I have encountered. 

1) login() : I have used the below code from the guide
LoginResult lr;
            try
            {
                Console.WriteLine("\nLogging in...\n");
                lr = loginClient.login(null, username, password); 
            }
But it seems that now the login is accepting four arguments which are 
- LoginScopeHeader // Additional Argument
- CallOptions
- username
- password

2)  describeGlobal()
DescribeGlobalResult dgr = client.describeGlobal(
                         header, // session header
                         null // package version header
                         );
Now its excepting 
- SessionHeader
- CallOptions
- PackageVersionHeader
- DescribeGlobalResult // Additional Argument

3)  describeSObjects()
DescribeSObjectResult[] dsrArray =
                      client.describeSObjects(
                        header, // session header
                        null, // package version header
                        null, // locale options
                        new string[] { objectType } // object name array
                        );
Now its excepting 
- SessionHeader
- CallOptions
- PackageVersionHeader
- LocalOptions
- SObjectType
- DescribeGlobalResult // Additional Argument

4) query()
QueryResult qr = client.query(
                    header, // session header
                    null, //CallOptions
                    null, // query options
                    null, // mru options
                    null, // package version header
                    soqlQuery // query string
                    );
Now its excepting 
- SessionHeader
- CallOptions
- QueryOptions
- MruHeaders
- PackageVersionHeader
- Query String 
- QueryResult // Additional Argument

5) querymore()
qr = client.queryMore(
                                    header, // session header
                                    null, // query options
                                    qr.queryLocator // query locator
                                    );

Now its excepting 

- session header
- query options
- query locator
- QueryResult // Additional Argument

Please let me know if what  am I missing in the procedure. Thanks much. Much Appreciated !!