* @param messageContext the current message context being processed
* @return a SOAPAction HTTP header URI value
*/
protected String getSOAPAction(MessageContext messageContext) {
Envelope env = (Envelope) messageContext.getOutboundMessage();
Header header = env.getHeader();
if (header == null) {
return null;
}
List<XMLObject> objList = header.getUnknownXMLObjects(Action.ELEMENT_NAME);
if (objList == null || objList.isEmpty()) {
return null;
} else {
return ((Action)objList.get(0)).getValue();
}