Skip to Content
author's profile photo Former Member
Former Member

External Web Service connect (Service call exception)

i wrote a Web Service Proxy for a external Web Service from a Provider ESRI (

Then i wrote a servlet and EAR Project with all necessary mappings.

In the servlet i try to get a Token over the AuthtenticationProxy using (https).

protected void doGet(HttpServletRequest request, httpServletResponse response) throws ServletException, IOException




InitialContext ic = new InitialContext();

Hashtable env = new Hashtable();

env = ic.getEnvironment();

Authentication aAuth = (Authentication)ic.lookup("java:comp/env/AuthenticationProxy");

IAuthentication aAuthentication = (IAuthentication)aAuth.getLogicalPort(IAuthentication.class);

<b>String aToken = aAuthentication.getToken("<username>","<pwd>");</b> }

catch (Exception e)




the call of the "getToken" function brings back following Exception, i dont find any response:

java.rmi.RemoteException: Service call exception; nested exception is: < Localization failed: ResourceBundle='', ID='Could not create SSL Connection timed out: connect', Arguments: [] > : Can't find resource for bundle java.util.PropertyResourceBundle, key Could not create SSL Connection timed out: connect

Has anyone a idea?

Thanks for replies

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 01:56 PM

    I found the solution, on our WAS 6.40 we haven't configured the proxy setting

    Start the Visual Administrator and select Web Services Container -> Runtime -> UDDI Client

    Initial Configuring

    Configure the HTTP proxy settings

    Select the Settings tab and enter the required proxy host and port information. Choose Save.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.