Class SoapParser
java.lang.Object
com.aquima.interactions.communication.impl.evaluator.parser.SchemaSetParser
com.aquima.interactions.communication.impl.evaluator.parser.SoapParser
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 Summary
ConstructorsConstructorDescriptionSoapParser
(ISoapServiceDefinition definition, IValueFormatter valueFormatter) Construct a soap parser with a soap service definition. -
Method Summary
Modifier and TypeMethodDescriptionvoid
parseRequest
(String operationName, ISoapMessage message, InferenceContext target) This method may be used to parse a soap request message.void
parseResponse
(String operationName, ISoapMessage message, InferenceContext target) This method may be used to parse a soap response message.Methods inherited from class com.aquima.interactions.communication.impl.evaluator.parser.SchemaSetParser
isNil, parseElement, parseElement, parseSimpleValue, setAttribute
-
Constructor Details
-
SoapParser
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) throws FieldValidationException, MessageParseException, UnknownActionException, UnknownTypeMappingException, UnknownElementMappingException, SoapMessageParseException 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.- Throws:
FieldValidationException
MessageParseException
UnknownActionException
UnknownTypeMappingException
UnknownElementMappingException
SoapMessageParseException
-
parseResponse
public void parseResponse(String operationName, ISoapMessage message, InferenceContext target) throws FieldValidationException, MessageParseException, UnknownActionException, UnknownTypeMappingException, UnknownElementMappingException, SoapMessageParseException 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.- Throws:
FieldValidationException
MessageParseException
UnknownActionException
UnknownTypeMappingException
UnknownElementMappingException
SoapMessageParseException
-