| java.lang.Object com.sun.jbi.common.soap.MessageNormalizerImpl
MessageNormalizerImpl | public class MessageNormalizerImpl implements MessageNormalizer(Code) | | This implementation converts a SOAP request message to a JBI specific format which can
be understood by other JBI components.
author: Sun Microsystems, Inc. |
MessageNormalizerImpl | public MessageNormalizerImpl()(Code) | | Creates a new instance of MessageNormalizerImpl.
|
extractPayload | protected Node extractPayload(SOAPBody soapBody, Operation operation, boolean isFault) throws JBIException(Code) | | Extracts request/response payload from the soap body.
Parameters: soapBody - soap body message. Parameters: operation - operation requested. Parameters: isFault - boolean indicating if it is a fault. request payload throws: JBIException - - if request could not be extracted. |
isFault | public boolean isFault(int responseCode)(Code) | | Used to check if the response code corresponds to a fault.
Parameters: responseCode - response code true if it is a fault; false otherwise. |
normalizeFaultMessage | public void normalizeFaultMessage(SOAPWrapper soapWrapper, NormalizedMessage normalizedMessage) throws JBIException(Code) | | Converts a SOAP Fault Message to a NormalizedMessage format.
Parameters: soapWrapper - request message. Parameters: normalizedMessage - jbi specific format. throws: JBIException - if the message cannot be normalized. |
normalizeMessage | public void normalizeMessage(SOAPWrapper soapWrapper, NormalizedMessage normalizedMessage, Operation operation) throws JBIException(Code) | | Converts a SOAP Message to a NormalizedMessage format.
Parameters: soapWrapper - request message. Parameters: normalizedMessage - jbi specific format. Parameters: operation - operation requested. throws: JBIException - if the message cannot be normalized. |
normalizeResponseMessage | public void normalizeResponseMessage(SOAPWrapper soapWrapper, NormalizedMessage normalizedMessage, Operation operation) throws JBIException(Code) | | Converts a SOAP Response Message to a JBI NormalizedMessage.
Parameters: soapWrapper - request message. Parameters: normalizedMessage - jbi normalized message. Parameters: operation - operation details. throws: JBIException - if the message cannot be normalized. |
|
|