Class ClientSoapStub

    • Field Detail

      • DEFAULT_CLIENT_TIME_OUT

        public static final Integer DEFAULT_CLIENT_TIME_OUT
        Default Client call timeout
    • Constructor Detail

      • ClientSoapStub

        public ClientSoapStub​(String soapServer)
        Stub constructor.
        Parameters:
        soapServer - Soap server url.
    • Method Detail

      • getServiceCall

        protected org.apache.axis.client.Call getServiceCall​(String methodName)
                                                      throws RemoteException
        Create a new service call to the given method
        Parameters:
        methodName - the name of the method (eg, "createUser")
        Returns:
        a new Call instance, ready to be invoked
        Throws:
        RemoteException - when an error is encountered in creating the service call.
      • getSoapServer

        protected String getSoapServer()
        Returns the soap server on the client stub
        Returns:
        The new soap server of a client stub
      • setTimeout

        public void setTimeout​(int ms)
        Sets the client http socket timeout.
        Parameters:
        ms - the timeout value in milliseconds
      • getTimeout

        public int getTimeout()
        Gets the client http socket timeout. If timeout is not specified, this will return default time out of 60000 ms