Class SoapMessageTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.communication.SoapMessageTemplate

public class SoapMessageTemplate extends AbstractReportingTemplate
This class may be used to quickly initialize a model.
Since:
9.0
Author:
Jon van Leuven, Arjan Pragt
  • Constructor Details

    • SoapMessageTemplate

      protected SoapMessageTemplate(String entityName, String targetNamespace, com.aquima.interactions.foundation.report.IInitializationReport initializationReport)
  • Method Details

    • getEntity

      protected String getEntity()
    • getTargetNamespace

      protected String getTargetNamespace()
    • addHeaderPart

      public SoapMessagePartTemplate addHeaderPart(String name, String attributeName)
      This method adds a header message part.
      Parameters:
      name - The name of the message part, may not be null.
      attributeName - The attribute of the message part, may not be null.
      Returns:
      The created template.
    • addBodyPart

      public SoapMessagePartTemplate addBodyPart(String name, String attributeName)
      This method adds a body message part.
      Parameters:
      name - The name of the message part, may not be null.
      attributeName - The attribute of the message part, may not be null. *
      Returns:
      The created template.
    • toDataSource

      public com.aquima.interactions.communication.ds.ISoapMessageDS toDataSource()
      This method converts the template to a data source that can be used to initialize the definition.
      Returns:
      a data source that can be used to initialize the definition.
    • getHeaders

      protected Iterator<SoapMessagePartTemplate> getHeaders()
    • getBodyParts

      protected Iterator<SoapMessagePartTemplate> getBodyParts()