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
Eager-2-LearnEager-2-Learn 

Apex Partner WSDL consumed by Salesforce

I am struggling with the understanding of API usage.  I saw an example in the cook book where I could consume the Apex Partner WSDL in a Salesforce ORG.  Now I am trying to actually query data from one developer org  and by using the partner classes generated the WSDL import actually insert records into another developer org via API calls.

 

The examples that I find in the API developer guide are all around C# or Java apps doing this.  I want to do this from one SF org to another SF org.

 

In addition, I do not see any full-complete examples of how to encrypt the password so that the actual Apex code inside of SF does not allow someone to see the password in its normal view.

 

Any help would be appreciated.

Best Answer chosen by Eager-2-Learn
Ashish_SFDCAshish_SFDC
Hi , 

Before working with the API in the recipes in this chapter, perform the following setup steps.

Select a Development Language
Create an Integration User
Select a WSDL
Generate a WSDL Document
If You Use the Partner WSDL
Log In to and Out of the API
Manage Sessions
Change the Session Timeout Value

See the links below and let us know if you are looking for anything else, 

http://developer.force.com/cookbook/recipe/setting-up-your-salesforce-com-web-services-api-applications

http://developer.force.com/cookbook/recipe/calling-salesforce-web-services-using-apex

Regards,
Ashish

All Answers

Ashish_SFDCAshish_SFDC
Hi , 

Before working with the API in the recipes in this chapter, perform the following setup steps.

Select a Development Language
Create an Integration User
Select a WSDL
Generate a WSDL Document
If You Use the Partner WSDL
Log In to and Out of the API
Manage Sessions
Change the Session Timeout Value

See the links below and let us know if you are looking for anything else, 

http://developer.force.com/cookbook/recipe/setting-up-your-salesforce-com-web-services-api-applications

http://developer.force.com/cookbook/recipe/calling-salesforce-web-services-using-apex

Regards,
Ashish

This was selected as the best answer
Eager-2-LearnEager-2-Learn
Thank you ashish  - I will start at the supplied links you provided and see how far I can get.  Busy on other things now so I will have to fit it in but thank you so much for your response.