Author: thomas.diesler(a)jboss.com
Date: 2006-10-16 06:37:30 -0400 (Mon, 16 Oct 2006)
New Revision: 1224
Modified:
branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java
Log:
Fix SEI name when there is a name conflict with the service
Modified:
branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java
===================================================================
---
branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java 2006-10-16
08:11:37 UTC (rev 1223)
+++
branches/jbossws-1.0/src/main/java/org/jboss/ws/tools/helpers/MappingFileGeneratorHelper.java 2006-10-16
10:37:30 UTC (rev 1224)
@@ -186,7 +186,7 @@
WSDLInterface wsdlintf = wsdlDefinitions.getInterface(new
NCName(portTypeName));
String portName = wsdlintf.getName().toString();
String javaPortName = utils.chopPortType(portName);
- if (wsdlDefinitions.getService(new NCName(portName)) != null)
+ if (wsdlDefinitions.getService(new NCName(javaPortName)) != null)
javaPortName += "_PortType";
ServiceEndpointInterfaceMapping seim = new
ServiceEndpointInterfaceMapping(jwm);