*
* @return
*/
protected String getAddressingAction( MessageContext msgContext )
{
AddressingHeaders addrHeaders =
(AddressingHeaders) msgContext.getProperty(
org.apache.axis.message.addressing.Constants.ENV_ADDRESSING_REQUEST_HEADERS );
if ( addrHeaders == null )
{
LOG.debug( MSG.getMessage( Keys.NO_ADDR_HDR ) );
return null;
}
// TODO: we should probably be throwing a fault if there's no wsa:Action header
Action headerAction = addrHeaders.getAction();
if ( headerAction == null )
{
LOG.debug( MSG.getMessage( Keys.NO_ACTION_IN_ADDR_HDR ) );
return null;
}