Hi,

I was wondering where this ws-addressing library (addressing-1.0.jar used in
wss4j) is maintained and if there is a possibility to ask for a minor change
in this library.

I am posting my question here because I do not find a JIRA component for
WS-Addressing and don't  know which JIRA component I can submit this
request.

I am using addressing-1.0.jar included in the wss4j package to do also other
scenarios using WS-Addressing.
In this context, I would like to have a way to set the message ID based on
some message context property value just like other fields such as ReplyTo
with property addressing.sendReplyTo.

The required changes would be in AddressingHandler.java (in
addressing-1.0.jar and addressing-SNAPSHOT.jar)

<             MessageID id =
<                 new MessageID(new URI("uuid:" + uuidGen.nextUUID()));
---
>             String msgid = msgContext.getStrProp(
Constants.ENV_ADDRESSING_MESSAGE_ID);
>             MessageID id;
>             if (msgid == null) {
>                 id = new MessageID(new URI("uuid:" + uuidGen.nextUUID()));
>             }
>             else {
>                 id = new MessageID(new URI(msgid));
>             }


and in Constants.java that can define this ENV_ADDRESSING_MESSAGE_ID, as
something like

>     /**
>      * SOAP message context prop with default value for wsa:MessageID
header for outgoing request messages.
>      */
>     public static final String ENV_ADDRESSING_MESSAGE_ID =
>         "addressing.message.ID";
>

Could someone suggest me what I can do?

Thank you for your help.

Regards, aki

Reply via email to