axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <>
Subject wsa:MessageID required
Date Tue, 20 Mar 2007 18:29:00 GMT
I'm testing Axis2 against Microsoft .NET and its sending back a
message that includes a wsa:Action but not a wsa:MessageID. Its using
the namespace, which dereferences to this spec:

In that spec, wsa:MessageID is optional. However, the addressing
module has the following check:

if (mepConstant == WSDLConstants.MEP_CONSTANT_IN_OUT ||
                mepConstant == WSDLConstants.MEP_CONSTANT_IN_OPTIONAL_OUT ||
                mepConstant == WSDLConstants.MEP_CONSTANT_ROBUST_IN_ONLY) {
            String messageId = msgContext.getOptions().getMessageId();
            if (messageId == null || "".equals(messageId)) {

.triggerMessageAddressingRequiredFault(msgContext, WSA_MESSAGE_ID);

which is happening in my case because the operation is IN-OUT.

Can anyone explain why we are insisting on wsa:MessageID?

Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

"Oxygenating the Web Service Platform",

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message