Class SoapContract

java.lang.Object
com.aquima.interactions.communication.impl.SoapContract
All Implemented Interfaces:
ISoapContract

public final class SoapContract extends Object implements ISoapContract
This class holds the static definition of a soap contract.
Since:
9.0
Author:
Arjan Pragt
  • Constructor Details

    • SoapContract

      public SoapContract(ISoapContractDS datasource, CommunicationEngine communicationEngine)
      Constructs a soap contract with a datasource.
      Parameters:
      datasource - The datasource, may not be null.
      Throws:
      InitializationException - This exception is thrown when the definition could not be created.
  • Method Details

    • getMainWsdl

      public IWsdlDefinition getMainWsdl()
      Description copied from interface: ISoapContract
      This method returns the name of the entry wsdl of the contract.
      Specified by:
      getMainWsdl in interface ISoapContract
      Returns:
      The name of the entry wsdl, may not be null.
    • getWsdls

      public String[] getWsdls()
      Description copied from interface: ISoapContract
      This method returns the available wsdls
      Specified by:
      getWsdls in interface ISoapContract
      Returns:
      The available wsdls, may not be null.
    • getWsdl

      public IWsdlDefinition getWsdl(String wsdlName)
      Description copied from interface: ISoapContract
      This method returns the binary content of the wsdl.
      Specified by:
      getWsdl in interface ISoapContract
      Parameters:
      wsdlName - The name of the wsdl.
      Returns:
      The bytes of the wsdl.
    • addWsdl

      protected void addWsdl(WsdlDefinition wsdl)
    • getName

      public String getName()
      Description copied from interface: ISoapContract
      This method returns the name of the contract.
      Specified by:
      getName in interface ISoapContract
      Returns:
      The name of the contract, may not be null.
    • getSchemaContract

      public ISchemaContract getSchemaContract()
      Description copied from interface: ISoapContract
      This method returns the type contract of the wsdl.
      Specified by:
      getSchemaContract in interface ISoapContract
      Returns:
      The type contract of the wsdl, may not be null.