Author: jim.ma
Date: 2010-03-30 10:27:02 -0400 (Tue, 30 Mar 2010)
New Revision: 11904
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/extensions/addressing/jaxws/WSAddressingClientHandler.java
Log:
[JBPAPP-4033]:Add wsa:MessageID in request soap message
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/extensions/addressing/jaxws/WSAddressingClientHandler.java
===================================================================
---
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/extensions/addressing/jaxws/WSAddressingClientHandler.java 2010-03-30
14:25:11 UTC (rev 11903)
+++
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/extensions/addressing/jaxws/WSAddressingClientHandler.java 2010-03-30
14:27:02 UTC (rev 11904)
@@ -22,6 +22,7 @@
package org.jboss.ws.extensions.addressing.jaxws;
import org.jboss.logging.Logger;
+import org.jboss.ws.extensions.addressing.AddressingClientUtil;
import org.jboss.ws.extensions.addressing.AddressingConstantsImpl;
import org.jboss.ws.extensions.addressing.soap.SOAPAddressingPropertiesImpl;
import org.jboss.ws.metadata.umdm.ClientEndpointMetaData;
@@ -122,6 +123,12 @@
}
}
+ //Add this optional messageID
+ if (addrProps.getMessageID()== null)
+ {
+ addrProps.setMessageID(AddressingClientUtil.createMessageID());
+ }
+
SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
addrProps.writeHeaders(soapMessage);
Show replies by date