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
phimanphiman 

I´m new. I couldn´t run the hello example

I´m using the example login.java on Eclipse, but I get this exception when i put my name and password.

Which one do I have to use?

; nested exception is:

java.net.UnknownHostException: www.salesforce.com

prudhviprudhvi
Hi phiman
 
 I think you are connected to net through proxy.
Set the proxy host and port before sending the  SOAP request.
You can set the proxy setting in java code  by using following code

 System.setProperty("http.proxyHost", "<hostname>");
 System.setProperty("http.proxyPort", "<port>");
 
I think it will solve your problem
 
Regards,
Prudhvi
phimanphiman
Thanks for your help. Once more I need some help. I don´t have a valid username and password, the trial version doesn´t have the permissions and the account I have for logging the community, I coudln´t log in.
DevAngelDevAngel

Hi phiman,

When you signed up for sforce, you should have recieved an email in you fernando.wermus@xlnet.net.ar email account that gives you your username and password.  When you recieve that email you are required to click the link that takes you to your new salesforce.com developer edition and change your password. 

This username and password will work with the samples.