C # calls Salesforce WebService Auto-generated CS file bug

Source: Internet
Author: User

A recent company project to invoke Salesforce's CRM system API, some of the problems encountered in the record

One: Add a Web Service reference

1.1

1.2

1.3: Copy Address bar address

1.4 Paste the copied address contents into the URL input box

Second: Compile the project, click Start Run

2.1: Direct Error

2.1: All blame we too believe Microsoft, vs also have bug, later in a foreigner blog to see similar situation, F12 into the generated SforceService.cs press ctrl+f find all Listviewrecordcolumn

Listviewrecordcolumn[][] Two-dimensional array delete a [] change to listviewrecordcolumn[], recompile, and everything is fine.

Third: Subsequent calls to the corresponding increase, delete, change operation

3.1: The login interface must be called before the subsequent operation

3.2: Add, modify, delete

Finally, attach the official online documentation

http://www.salesforce.com/us/developer/docs/api/index_Left.htm#CSHID=sforce_api_calls_upsert.htm| starttopic=content%2fsforce_api_calls_upsert.htm| Skinname=webhelp

C # calls Salesforce WebService Auto-generated CS file bug

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.