1 Reply Latest reply on Dec 20, 2011 10:53 AM by Vadim Kopichenko

    Connect- and read-timeout properties for JBossWS-Native


      Does anyone know the names of the properties for setting the

      1. connect-timeout and the
      2. read-timeout

      for a JBossWS-Native client?

      I found several properties for the read-timeout, e.g. on http://jbossws.jboss.org/mediawiki/index.php/JAX-RPC_User_Guide

       /** ClientTimeout property: org.jboss.ws.timeout */
       static final String PROPERTY_CLIENT_TIMEOUT = "org.jboss.ws.timeout";

      With this property the read-timeout can be set in the following way:

      bindingProvider.getRequestContext().put("org.jboss.ws.timeout", new Integer(1000));

      Besides this property I found "org.jboss.webservice.client.timeout" and "org.jboss.webservice.timeout" in the internet.

      Which property name is the correct one for setting the read-timeout and which is the correct one for a connect-timeout?

      Currently we are using JBossAS Version 4.3.0_eap_cp02.