java - Connecting to SFDC's test instance using Partner WSDL -


i created java proxies partner wsdl fetched https://login.salesforce.com/

how can use same proxies connect sfdc account in https://test.salesforce.com/

it'll depend on specific client toolkit you're using, should able set destination url before calling login(). axis 1.x, you'd do

soapbindingstub binding = (soapbindingstub) new sforceservicelocator().getsoap(); binding._setproperty(soapbindingstub.endpoint_address_property,                  "https://test.salesforce.com/services/soap/u/20.0"); 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -