code: public static void setTimeout(Stub stub, int timeout) {
          if (stub instanceof org.apache.axis.client.Stub) {
              ((org.apache.axis.client.Stub)stub).setTimeout(timeout);
          }
      }
docs: Sets connection timeout.
  
  @param stub The stub to set the property on
  @param timeout the new timeout value in milliseconds