com.webify.wsf.engine.mediation
Interface RequestMessageListener
public interface RequestMessageListener
- Version:
- $Id: $
- Author:
- dranatunga
getTriggerElementInHeader
javax.xml.namespace.QName getTriggerElementInHeader()
- Indicates what element (within the Message Header) should trigger this
listener's
onHeaderElement(Context, XmlElement)
. Typically,
'header' refers to a SOAP header.
- Returns:
- the QName of the trigger element; null if no element within the
message header is of interest.
onHeaderElement
ResponseMessageListener onHeaderElement(Context context,
XmlElement element)
- Invoked whenever the element of interest is found within the
message header. The element of interest is indicated using
getTriggerElementInHeader()
- Parameters:
context
- The context relevant to this message to the
extent that is known.element
- the element from the message header.
- Returns:
- the response message listener that should be used for
the response to this particular message; null
if no response handling needs to be performed.
Copyright © 2002-2009 IBM. All Rights Reserved.