*
* @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_WSA_HEADERS ) );
throw new FaultException( Soap1_1Constants.FAULT_CLIENT, "This endpoint requires WS-Addressing headers." );
}
Action wsaAction = addrHeaders.getAction( );
if ( wsaAction == null )
{
LOG.debug( MSG.getMessage( Keys.NO_WSA_ACTION ) );
throw new FaultException( Soap1_1Constants.FAULT_CLIENT,
"The WS-Addressing Action header is required by this endpoint." );