Hi Artur,

can you tell me what kind of operation on the firewall you did?

Thank you

Marco


Artur Kraft wrote:
Hello,
thanks for your help. I tried to increase the timeout duration, but the response should be far earlier than the default timeout. Luckily I found the solution to my problem and I have to admit, it was a quite basic one: my firewall didn't let the reply through, although the configuration is very good on all other means. I am happy it works now. I started to have doubts about myself. Thanks.
Artur Kraft


arul thayalan wrote:
Hi,

Did you try this one?

Integer conTimeOut = new Integer(10000);
_call.setProperty("axis.connection.timeout",(Object)conTimeOut);

before calling _call.invoke(?,?,?)

Regards
Arul Thayalan

--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:

  
http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html
  
On 5/2/06, Artur Kraft <[EMAIL PROTECTED]> wrote:
    
 Hello,

 I am sorry for bringing this one up again, but I
      
do really need a solution
    
for the connection timeout. Can someone please
      
help or push me in the right
    
direction? It's really urgent, otherwise I wouln't
      
behave like that.
    
 kind regards
 Artur Kraft

 -------- Original Message --------
 Hello,

 I'm trying to get a axis client to work with my
      
web service (located on a
    
remote machine) over HTTPS. The call of the web
      
service succeeds with the
    
browser. I accept the server certificate
      
(self-signed), then I am able to
    
access and call the methods.

 But with the java client I got the following
      
Exception:
    
     java.net.ConnectException: Connection timed
      
out: connect
    
 (the whole stacktrace is included lower)

 >From the view of the amount of time passed, no
      
connection timeout should
    
occur. I though it maybe be an SSL cert thing, so
      
I used the
    
"SunFakeTrustSocketFactory" from the Axis Wiki,
      
but the result was the same
    
as before.
 Maybe I am doing something in the basics?

 The stub code looks like this:
 MeasuringDeviceMonitorService loc = new
MeasuringDeviceMonitorServiceLocator();
 MeasuringDeviceMonitorIF service =
      
loc.getmdmonitor();
    
 Header header = service.getDevice("11/100");

 Currently I have no way of disabling SSL from the
      
web service, so any help
    
is much appreciated.

 kind regards,
 Artur Kraft




 Exception Stacktrace:
 trigger seeding of SecureRandom
 done seeding SecureRandom
 AxisFault
  faultCode:

      
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  
  faultSubcode:
  faultString: java.net.ConnectException:
      
Connection timed out: connect
    
  faultActor:
  faultNode:
  faultDetail:
    
      
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException:
  
Connection timed out: connect
     at
      
java.net.PlainSocketImpl.socketConnect(Native
    
Method)
     at

      
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  
     at

      
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  
     at

      
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  
     at

      
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
  
     at java.net.Socket.connect(Socket.java:507)
     at

      
com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:546)
  
     at

      
com.sun.net.ssl.internal.ssl.SSLSocketImpl.&lt;init&gt;(SSLSocketImpl.java:349)
  
     at

      
com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:69)
  
     at

      
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
  
     at

      
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
  
     at

      
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
  
     at

      
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
  
     at

      
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
  
     at

      
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
  
     at

      
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
  
     at

      
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
  
     at

      
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
  
     at
      
org.apache.axis.client.Call.invoke(Call.java:2767)
    
     at
      
org.apache.axis.client.Call.invoke(Call.java:2443)
    
     at
      
org.apache.axis.client.Call.invoke(Call.java:2366)
    
     at
      
org.apache.axis.client.Call.invoke(Call.java:1812)
    
     at

      
de.qsgrimm.wsclient.mdm.gen.MdmonitorSoapBindingStub.getMeasuringDevice(MdmonitorSoapBindingStub.java:752)
  
     at

      
de.qsgrimm.wsclient.mdm.MainFrame$1.actionPerformed(MainFrame.java:164)
  
     at

      
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
  
     at

      
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
  
     at

      
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
  
     at

      
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
  
     at

      
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
  
     at

      
java.awt.Component.processMouseEvent(Component.java:5488)
  
     at

      
javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
  
     at
      
java.awt.Component.processEvent(Component.java:5253)
    
     at
      
java.awt.Container.processEvent(Container.java:1966)
    
     at

      
java.awt.Component.dispatchEventImpl(Component.java:3955)
  
     at

      
java.awt.Container.dispatchEventImpl(Container.java:2024)
  
     at

      
java.awt.Component.dispatchEvent(Component.java:3803)
  
     at

      
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
  
     at

      
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
  
     at

      
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
  
     at

      
java.awt.Container.dispatchEventImpl(Container.java:2010)
  
     at
      
java.awt.Window.dispatchEventImpl(Window.java:1774)
    
     at

      
java.awt.Component.dispatchEvent(Component.java:3803)
  
     at

      
java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
  
     at

      
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
  
     at

      
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
  
     at
      
=== message truncated ===



		
____________________________________________________ 
On Yahoo!7 
Dating: It's free to join and check out our great singles! 
http://www.yahoo7.com.au/personals

  

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to