Sunday 15 July 2012

web services - CXF java.net.ConnectException: Connection timed out -


I am finished a connection when I tried to use a method from a Siaksf Web service Dblues client I do what I've posted. Both are using custom interceptors, and the service is overloaded due to many invitations

  due to:. Java.net.ConnectException: ConnectException is applicable http: //xxx.xx.xx.xx: 12005 / Myservice / repository? Wsdl: sun.reflect.NativeConstructorAccessorImpl.newInstance0 (sunrise) on sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java.5) on original method. DelelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.jew: 45) org.apache.cxf.transport .http.HTTPConduit org.apache.cxf.transport.AbstractConduit on org.apache.cxf.transport on java.lang.reflect.Constructor.newInstance (Constructor.java:525) (HTTPConduit.java:1338) at $ WrappedOutputStream.mapException .close (AbstractConduit.java:56) $ WrappedOutputStream.close (HTTPConduit.java:1322) .http.HTTPConduit on org.apache.cxf.transport.http.HTTPConduit.close (HTTPConduit .java: 622) org.apache. cxf.interceptor.MessageSenderInterceptor ndingInterceptor.handleMessage (MessageSenderInterceptor.java:62) at $ Sndeshsender ... 36 more   

I disabled timeout or To increase it, but failed in all.

Tried several solutions to do the first thing, I tried to create a CXF configuration file like the following: