Author: richard.opalka(a)jboss.com
Date: 2011-08-15 08:59:55 -0400 (Mon, 15 Aug 2011)
New Revision: 14845
Modified:
container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/injection/ServiceRefResourceProvider.java
Log:
[JBWS-3338] @Addressing annotation propagation
Modified:
container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/injection/ServiceRefResourceProvider.java
===================================================================
---
container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/injection/ServiceRefResourceProvider.java 2011-08-15
12:37:12 UTC (rev 14844)
+++
container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/injection/ServiceRefResourceProvider.java 2011-08-15
12:59:55 UTC (rev 14845)
@@ -386,13 +386,18 @@
final Addressing addressingSBMD = portComponentSBMD.getAddressing();
if (addressingSBMD != null)
{
+ portComponentUMDM.setAddressingAnnotationSpecified(true);
portComponentUMDM.setAddressingEnabled(addressingSBMD.isEnabled());
portComponentUMDM.setAddressingRequired(addressingSBMD.isRequired());
portComponentUMDM.setAddressingResponses(addressingSBMD.getResponses());
}
// propagate respect binding properties
-
portComponentUMDM.setRespectBindingEnabled(portComponentSBMD.isRespectBindingEnabled());
+ if (portComponentSBMD.isRespectBindingEnabled())
+ {
+ portComponentUMDM.setRespectBindingAnnotationSpecified(true);
+ portComponentUMDM.setRespectBindingEnabled(true);
+ }
// propagate link
portComponentUMDM.setPortComponentLink(portComponentSBMD.getLink());