You need to sign in to do that
Don't have an account?

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.
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
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