Class HPCCWsResourcesClient


  • public class HPCCWsResourcesClient
    extends BaseHPCCWsClient
    Facilitates discovery of containerized HPCC Systems resources.
    • Constructor Detail

      • HPCCWsResourcesClient

        protected HPCCWsResourcesClient​(Connection baseConnection)
        Instantiates a new HPCC WSRESOURCES client.
        Parameters:
        baseConnection - the base connection
    • Method Detail

      • getServiceWSDLURL

        public static String getServiceWSDLURL()
        Gets the service WSDLURL.
        Returns:
        the service WSDLURL
      • getServiceWSDLPort

        public static int getServiceWSDLPort()
        Gets the service WSDL port.
        Returns:
        the service WSDL port
      • getDefaultStub

        public org.apache.axis2.client.Stub getDefaultStub()
                                                    throws org.apache.axis2.AxisFault
        Gets the default stub.
        Specified by:
        getDefaultStub in class BaseHPCCWsClient
        Returns:
        the default stub
        Throws:
        org.apache.axis2.AxisFault - the axis fault
      • get

        public static HPCCWsResourcesClient get​(Connection connection)
        Gets the.
        Parameters:
        connection - the connection
        Returns:
        the HPCC HPCCWsResources client
      • get

        public static HPCCWsResourcesClient get​(String protocol,
                                                String targetHost,
                                                String targetPort,
                                                String user,
                                                String pass)
        Gets the.
        Parameters:
        protocol - the protocol
        targetHost - the target host
        targetPort - the target port
        user - the user
        pass - the pass
        Returns:
        the HPCC HPCCWsResources client
      • get

        public static HPCCWsResourcesClient get​(String protocol,
                                                String targetHost,
                                                String targetPort,
                                                String user,
                                                String pass,
                                                int timeout)
        Gets the.
        Parameters:
        protocol - the protocol
        targetHost - the target host
        targetPort - the target port
        user - the user
        pass - the pass
        timeout - the timeout
        Returns:
        the HPCC WSDFUXREF client
      • initWsResourcesClientStub

        protected void initWsResourcesClientStub​(Connection conn)
        Initializes the service's underlying stub Should only be used by constructors.
        Parameters:
        conn - -- All connection settings included
      • serviceQuery

        public org.hpccsystems.ws.client.wrappers.gen.wsresources.ServiceQueryResponseWrapper serviceQuery​(org.hpccsystems.ws.client.wrappers.gen.wsresources.ServiceQueryRequestWrapper req)
                                                                                                    throws Exception
        Submit service query request
        Parameters:
        req - a ServiceQueryRequestWrapper object.
        Returns:
        a ServiceQueryResponseWrapper object.
        Throws:
        Exception - a Exception object.
      • ping

        public boolean ping()
                     throws Exception
        Ping.
        Returns:
        true, if successful
        Throws:
        Exception - the exception