java.lang.Object
com.aquima.interactions.communication.impl.evaluator.parser.SchemaSetParser
com.aquima.interactions.communication.impl.evaluator.parser.SoapParser

public final class SoapParser extends SchemaSetParser
Soap parser to parse a soap message and fill the profile with data.
Since:
9.0
Author:
Jon van Leuven, Arjan Pragt, Nicky van Noorloos, Munish Mahabiersing
  • Constructor Details

    • SoapParser

      public SoapParser(ISoapServiceDefinition definition, IValueFormatter valueFormatter)
      Construct a soap parser with a soap service definition.
      Parameters:
      definition - The soap service definition, may not be null.
      valueFormatter - The ValueFormatter to format the ISingleValue elements, may not be null
  • Method Details

    • parseRequest

      public void parseRequest(String operationName, ISoapMessage message, InferenceContext target, IDebugger debugger) throws MessageParseException
      This method may be used to parse a soap request message.
      Parameters:
      operationName - The operation name, may not be null or empty.
      message - The message, may not be null.
      target - The target context to fill, may not be null.
      debugger - A debugger instance that is attached, may be null.
      Throws:
      MessageParseException
    • parseResponse

      public void parseResponse(String operationName, ISoapMessage message, InferenceContext target, IDebugger debugger) throws MessageParseException
      This method may be used to parse a soap response message.
      Parameters:
      operationName - The operation name, may not be null or empty.
      message - The incoming message, may not be null.
      target - The target context to fill, may not be null.
      debugger - A debugger instance that is attached, may be null.
      Throws:
      MessageParseException