on 01-05-2011 3:26 PM
Hello Community,
this is the problem I am facing :
I have developped a Deployable Proxy DC to call a Webservice, I have done the Web module DC and EAR DC also, built and deployed.
The code in my JSP seems to be OK, but when I execute it, I got the following error message :
Application error occurred during request processing.
Details: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.ConnectException: Connection timed out: connect
Exception id: [1CC1DE01C0900070000000510000202C0004991ADB97D7C0]
when calling the JSP.
I do not need credits to call the Webservice.
Where did I go wrong ? How can I increase the value of the timeout period ?
Below is my JSP code :
<%@ page import="javax.naming.InitialContext" %>
<%@ page import="javax.rmi.PortableRemoteObject" %>
<%@ page import="fr.customer.CustomerWebServiceSoap" %>
<%@ page import="fr.customer.CustomerWebService" %>
<%
InitialContext ctx = new InitialContext();
fr.customer.CustomerWebService obj = (fr.customer.CustomerWebService) ctx.lookup("java:comp/env/custo_proxy");
fr.customer.CustomerWebServiceSoap port = (fr.customer.CustomerWebServiceSoap)obj.getLogicalPort("CustomerWebServiceSoap",fr.customer.CustomerWebServiceSoap.class);
fr.customer.types.PrixOffre[] result = new fr.customer.types.PrixOffre[0];
result = port.getOffres();
%>
If I remove this part :
result = port.getOffres();
Then I got no timeout issue...
Thanks a lot,
Fabien.
Edited by: Fabien REVOL on Jan 5, 2011 4:26 PM
Hi,
You don't even tell what system you are using....
Do you think we all have crystal balls to guess ?
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.