public class JbiWsdl11WrapperMapper extends BaseXmlMapper implements Mapper
Mapper.Recognized
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
URI_WSDL11_WRAPPER |
static javax.xml.namespace.QName |
WSDL11_W_MESSAGE |
__log
Constructor and Description |
---|
JbiWsdl11WrapperMapper() |
Modifier and Type | Method and Description |
---|---|
Mapper.Recognized |
isRecognized(javax.jbi.messaging.NormalizedMessage nmsMsg,
javax.wsdl.Operation op)
Determine if this mapper recognizes the format of the NMS message.
|
javax.wsdl.Fault |
toFaultType(javax.jbi.messaging.Fault jbiFlt,
java.util.Collection<javax.wsdl.Fault> faults)
Infer the fault type based on the message.
|
void |
toNMS(javax.jbi.messaging.NormalizedMessage nmsMsg,
Message odeMsg,
javax.wsdl.Message msgdef,
javax.xml.namespace.QName fault)
Convert ODE normalized message to JBI normalized "WSDL 1.1 Wrapper"
format.
|
void |
toODE(Message dest,
javax.jbi.messaging.NormalizedMessage src,
javax.wsdl.Message msgdef)
Convert an NMS message to ODE format.
|
newDocument, parse
public static final java.lang.String URI_WSDL11_WRAPPER
public static final javax.xml.namespace.QName WSDL11_W_MESSAGE
public Mapper.Recognized isRecognized(javax.jbi.messaging.NormalizedMessage nmsMsg, javax.wsdl.Operation op)
Mapper
isRecognized
in interface Mapper
public void toNMS(javax.jbi.messaging.NormalizedMessage nmsMsg, Message odeMsg, javax.wsdl.Message msgdef, javax.xml.namespace.QName fault) throws javax.jbi.messaging.MessagingException
public void toODE(Message dest, javax.jbi.messaging.NormalizedMessage src, javax.wsdl.Message msgdef) throws MessageTranslationException
Mapper
Mapper.isRecognized(NormalizedMessage, Operation)
returned,
true
.toODE
in interface Mapper
MessageTranslationException
public javax.wsdl.Fault toFaultType(javax.jbi.messaging.Fault jbiFlt, java.util.Collection<javax.wsdl.Fault> faults) throws MessageTranslationException
Mapper
toFaultType
in interface Mapper
jbiFlt
- JBI fault messagefaults
- collection of possible faultsMessageTranslationException