• Shree
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
Hi,

We are using proxy server for internet connection.
I've added ProxyHost,ProxyPort,ProxyUser and ProxyPassword details in Sforce Data Loader -> Settings menu.

When I am trying to login, it's giving the error message as:
"(407) Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied)."

The Proxy uses the INTEGRATED Authentication method.


Please let me know how this issue can be solved?

What are the changes to be done in the source...

Thanks in advance.
  • November 08, 2005
  • Like
  • 0

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.

 

  • October 04, 2005
  • Like
  • 0

Hi,

I've downloaded the enterprise.wsdl file from salesforce.com and coneverted to java clasees. I am trying to login to salesforce.com using these java  classes.My code is:

try
 {
  
     System.setProperty("http.proxyHost", "");
     System.setProperty("http.proxyPort", "80");

     SoapBindingStub sfdc = (SoapBindingStub) new SforceServiceLocator().getSoap(); 
     // login
     LoginResult loginResult = sfdc.login(request.getParameter("username"), request.getParameter("password")); 

    -----------------(rest of the code)

    ----------------------

  }catch (Exception e) {
   System.out.println("Failed in-->"+e);
   
  }

The program is compiling the first line, but it is throwing the exception in the "Login" line. The exception is "(405)Method not allowed in Java".

Can anybody help me in this? What is this error all about?

 

Thanks in advance..

  • October 01, 2005
  • Like
  • 0

Hi,

I've downloaded the enterprise.wsdl file from salesforce.com and coneverted to java clasees. I am trying to login to salesforce.com using these java  classes.My code is:

try
 {
  
     System.setProperty("http.proxyHost", "");
     System.setProperty("http.proxyPort", "80");

     SoapBindingStub sfdc = (SoapBindingStub) new SforceServiceLocator().getSoap(); 
     // login
     LoginResult loginResult = sfdc.login(request.getParameter("username"), request.getParameter("password")); 

    -----------------(rest of the code)

    ----------------------

  }catch (Exception e) {
   System.out.println("Failed in-->"+e);
   
  }

The program is compiling the first line, but it is throwing the exception in the "Login" line. The exception is "(405)Method not allowed in Java".

Can anybody help me in this? What is this error all about?

 

Thanks in advance..

 

  • October 01, 2005
  • Like
  • 0
Hi,

We are using proxy server for internet connection.
I've added ProxyHost,ProxyPort,ProxyUser and ProxyPassword details in Sforce Data Loader -> Settings menu.

When I am trying to login, it's giving the error message as:
"(407) Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied)."

The Proxy uses the INTEGRATED Authentication method.


Please let me know how this issue can be solved?

What are the changes to be done in the source...

Thanks in advance.
  • November 08, 2005
  • Like
  • 0

Hi,

I've downloaded the enterprise.wsdl file from salesforce.com and coneverted to java clasees. I am trying to login to salesforce.com using these java  classes.My code is:

try
 {
  
     System.setProperty("http.proxyHost", "");
     System.setProperty("http.proxyPort", "80");

     SoapBindingStub sfdc = (SoapBindingStub) new SforceServiceLocator().getSoap(); 
     // login
     LoginResult loginResult = sfdc.login(request.getParameter("username"), request.getParameter("password")); 

    -----------------(rest of the code)

    ----------------------

  }catch (Exception e) {
   System.out.println("Failed in-->"+e);
   
  }

The program is compiling the first line, but it is throwing the exception in the "Login" line. The exception is "(405)Method not allowed in Java".

Can anybody help me in this? What is this error all about?

 

Thanks in advance..

  • October 01, 2005
  • Like
  • 0