Class ApiWsdlXmlValidator

All Implemented Interfaces:
HasSpecialDefaultValues, FrankElement, HasApplicationContext, HasName, HasPhysicalDestination, HasTransactionAttribute, IConfigurable, IDualModeValidator, IForwardTarget, IPipe, IScopeProvider, IValidator, IWithParameters, IXmlValidator, NameAware, EventThrowing, SchemasProvider, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle

public class ApiWsdlXmlValidator extends WsdlXmlValidator
Extension to WsdlXmlValidator for API Management. The SOAP header can only contain the following schema (or it's empty):
elementlevelmandatory
MessageHeader0yes
xmlns="http://api.nn.nl/MessageHeader" yes
From1no
HeaderFields1yes
ConversationId2yes
Author:
Peter Leeuwenburgh
  • Field Details

  • Constructor Details

    • ApiWsdlXmlValidator

      public ApiWsdlXmlValidator()
  • Method Details

    • configure

      public void configure() throws ConfigurationException
      Description copied from class: XmlValidator
      Configure the XmlValidator
      Specified by:
      configure in interface IConfigurable
      Overrides:
      configure in class WsdlXmlValidator
      Throws:
      ConfigurationException - when:
      • the schema cannot be found
        • XmlValidator.isThrowException() is false and there is no forward defined for "failure"
        • when the parser does not accept setting the properties for validating
    • setMultipart

      public void setMultipart(boolean b)
      indicates whether the message is multipart/form-data. If so, the wsdl only represents the first part, other parts are attachments. This attribute is only used for generating the 'real' wsdl which is available in the ibis console (../rest/webservices)
      Default value
      false
    • getDocumentation

      public String getDocumentation()
      Description copied from interface: IXmlValidator
      Provide additional generic documentation on the validation of the subsequent processing. This documentation will be included in generated schema's like WSDL or OpenApi
      Specified by:
      getDocumentation in interface IXmlValidator
      Overrides:
      getDocumentation in class XmlValidator