This preview shows page 1. Sign up to view the full content.
Unformatted text preview: er in Visual Studio. After you import the WSDL file:
8. Create an instance of SForceService
Call the login method using your username and password concatenated
with the security token.
Create a SessionHeader
Set the SessionHeader’s sessionId to the sessnionId returned in the
LoginResult object from step 2.
Set the SessionHeaderValue field of the SForceService instance to the
instance created in step 3.
Set the Url field of the SforceService instance to the serverUrl field
returned in the LoginResult from step 2.
Create entities as needed. Your entities are sub-class of sObject
Use the create(), delete(), update(), query() methods of the SForceService
instance as needed.
Note: Remember to append __c to all field names © 2004 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 3...
View Full Document
This note was uploaded on 04/04/2014 for the course CS 5950 taught by Professor Staff during the Summer '08 term at Western Michigan.
- Summer '08
- Computer Science