Author: mageshbk(a)jboss.com
Date: 2008-02-20 02:09:57 -0500 (Wed, 20 Feb 2008)
New Revision: 5740
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java
Log:
[JBWS-1938] Assign message name instead of IN and OUT for Inbound/Outbound Addressing
Property
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java 2008-02-19
20:07:55 UTC (rev 5739)
+++
stack/native/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java 2008-02-20
07:09:57 UTC (rev 5740)
@@ -548,10 +548,11 @@
// TODO: figure out a way to assign message name instead of IN and OUT
String tns = epMetaData.getPortName().getNamespaceURI();
String portTypeName = epMetaData.getPortName().getLocalPart();
- addrExt.setInboundAction(tns + "/" + portTypeName + "/IN");
+ String opName = opMetaData.getQName().getLocalPart();
+ addrExt.setInboundAction(tns + "/" + portTypeName + "/" +
opName + "/IN");
if (!opMetaData.isOneWay())
- addrExt.setOutboundAction(tns + "/" + portTypeName +
"/OUT");
+ addrExt.setOutboundAction(tns + "/" + portTypeName + "/"
+ opName + "/OUT");
}
opMetaData.addExtension(addrExt);
Show replies by date