Class SoapVIAClient

  • All Implemented Interfaces:
    VIAService

    public class SoapVIAClient
    extends com.logicaldoc.webservice.soap.client.SoapClient<VIAService>
    implements VIAService
    Simple client for the SOAP VIAService
    Since:
    7.8
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • SoapVIAClient

        public SoapVIAClient​(String endpoint)
    • Method Detail

      • request

        public String request​(String sid,
                              String question,
                              boolean sendEmail)
                       throws Exception
        Description copied from interface: VIAService
        Interprets the question answers to the user's email
        Specified by:
        request in interface VIAService
        Parameters:
        sid - identifier of the session
        question - the question
        sendEmail - if the answer must also be sent to the user's email
        Returns:
        the response also delivered via email
        Throws:
        Exception - error in the server