Class SoapVIAClient

java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<VIAService>
com.logicaldoc.via.webservice.soap.client.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 Details

    • SoapVIAClient

      public SoapVIAClient(String endpoint)
  • Method Details

    • request

      public String request(String sid, String question, boolean sendEmail) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, FeatureNotEnabledException
      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:
      com.logicaldoc.core.security.authentication.AuthenticationException - The user has not been authenticated
      com.logicaldoc.webservice.WebserviceException - Error in the webservice
      com.logicaldoc.core.PersistenceException - Error in the data layer
      FeatureNotEnabledException - Feature not enabled in the license