You need to sign in to do that
Don't have an account?
"(407)Proxy Authentication Required " in JAVA
Hi,
I've added the proxy host and port to the tomcat startup file. I am using the following code to login to the salesforce.com.
<%
// Create binding object for sforce
try
{
SoapBindingStub sfdc = (SoapBindingStub) new SforceServiceLocator().getSoap();
// login using the username and password provided in login screen
LoginResult loginResult = sfdc.login(request.getParameter("username"), request.getParameter("password"));
----------------
-----------------
}
catch (Exception e){
out.println(e.getMessage());
}
Now the first line in try block is successfully getting executed, but the sfdc.login() is throwing the exception. The exact exception is
"(407)Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ) "
How the proxy issues can be handled? I tried adding proxy in the code, but didn't work?
How the proxies can be configured inorder to login to salesforce.com?
How the jsp files can be run in the debugging mode for analysis?
Waiting for the suggestions...
Thanks in advance.