You need to sign in to do that
Don't have an account?
DJH
"Invalid login" with my dev info
When I run my Java app to connect to Salesforce, I get an INVALID_LOGIN exception, even though I am using my developer account login and password, which obviously logged me in just fine via the web because here I am. I am using Java 1.4.2, Axis 1.0 (I cannot upgrade to 1.1 without risking breakage of other stuff, sorry) and the Sforce 3.0 API. My password contains no special characters. What could be wrong?
DJH
DJH
You can download the sforce Explorer (C# partner sample) at sforce.sf.net; if you can log in via that tool, then the problem is definately your code.
DJH
Unfortunately I can't compile and use the samples, because they depend on Axis 1.1--org.apache.axis.client.Stub's setHeader() method is new between Axis 1.0 and 1.1. But that method isn't involved in constructing the login command, so it seems like I should be able to at least log in. The fact that I am getting an actual "INVALID_LOGIN" exception means the Sforce service understood what I was trying to do, and that I gave it the correct number of parameters, but doesn't like the parameters themselves, true? In that case, how can I find out why it doesn't accept my valid username and password?
DJH