Class HPCCWsCodeSignClient


  • public class HPCCWsCodeSignClient
    extends BaseHPCCWsClient
    Facilitates ECL Code signing and verification related activities.
    • Constructor Detail

      • HPCCWsCodeSignClient

        protected HPCCWsCodeSignClient​(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 HPCCWsCodeSignClient get​(Connection connection)
        Gets the.
        Parameters:
        connection - the connection
        Returns:
        the HPCC HPCCWsResources client
      • get

        public static HPCCWsCodeSignClient 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 HPCCWsCodeSignClient
      • get

        public static HPCCWsCodeSignClient 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 HPCCWsCodeSignClient
      • initWsResourcesClientStub

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

        public org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsResponseWrapper listUserIDs​(org.hpccsystems.ws.client.wrappers.gen.wscodesign.ListUserIDsRequestWrapper req)
                                                                                                 throws Exception

        listUserIDs.

        Parameters:
        req - a ListUserIDsRequestWrapper object.
        Returns:
        a ListUserIDsResponseWrapper object.
        Throws:
        Exception - if any.
      • sign

        public org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignResponseWrapper sign​(org.hpccsystems.ws.client.wrappers.gen.wscodesign.SignRequestWrapper req)
                                                                                   throws Exception

        sign.

        Parameters:
        req - a SignRequestWrapper object.
        Returns:
        a SignResponseWrapper object.
        Throws:
        Exception - if any.
      • verify

        public org.hpccsystems.ws.client.wrappers.gen.wscodesign.VerifyResponseWrapper verify​(org.hpccsystems.ws.client.wrappers.gen.wscodesign.VerifyRequestWrapper req)
                                                                                       throws Exception

        verify.

        Parameters:
        req - a VerifyRequestWrapper object.
        Returns:
        a VerifyResponseWrapper object.
        Throws:
        Exception - if any.
      • ping

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