private static final long serialVersionUID = 3907988439637261572L;
public void invoke(MessageContext msgContext) throws AxisFault {
logger.debug("Starting Addressing IN Handler .........");
SOAPHeader header = msgContext.getEnvelope().getHeader();
if (header == null) {
return;
}
ArrayList addressingHeaders;
try {
addressingHeaders = header.getHeaderBlocksWithNSURI(Submission.WSA_NAMESPACE);
if (addressingHeaders != null) {
addressingNamespace = Submission.WSA_NAMESPACE;
extractCommonAddressingParameters(
header,
msgContext.getOptions(),
addressingHeaders, Submission.WSA_NAMESPACE);
} else {
addressingHeaders = header.getHeaderBlocksWithNSURI(Final.WSA_NAMESPACE);
if (addressingHeaders != null) {
addressingNamespace = Final.WSA_NAMESPACE;
extractCommonAddressingParameters(
header,
msgContext.getOptions(),