Author: jim.ma
Date: 2010-03-30 10:25:11 -0400 (Tue, 30 Mar 2010)
New Revision: 11903
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java
Log:
[JBPAPP-4032]:correct default wsa:action value
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java
===================================================================
---
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java 2010-03-30
14:08:54 UTC (rev 11902)
+++
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java 2010-03-30
14:25:11 UTC (rev 11903)
@@ -544,7 +544,16 @@
if (anAction != null)
{
addrExt.setInboundAction(anAction.input());
- addrExt.setOutboundAction(anAction.output());
+ if ("".equals(anAction.output()))
+ {
+ addrExt.setOutboundAction(epMetaData.getPortName().getNamespaceURI()
+ + "/" + opMetaData.getQName().getLocalPart() + "/"
+ opMetaData.getQName().getLocalPart()
+ + "Response");
+ }
+ else
+ {
+ addrExt.setOutboundAction(anAction.output());
+ }
addrExt.setFaultActions(anAction.fault());
}
else
Show replies by date