java2wsdl -tp option does not work! ----------------------------------- Key: AXIS2-4475 URL: https://issues.apache.org/jira/browse/AXIS2-4475 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: Tools Environment: Using AXIS2_HOME: C:\Tools\axis2-1.5 Using JAVA_HOME: C:\Tools\Java\jdk1.5.0_19 Reporter: Andrew Qu
Use tn and tp options to set special targetnamespace and targetnamespaceprefix. tn option works but tp option does not. The targetnamespaceprefix is still "axis2". The targetnamespaceprefix is stored at variable targetNamespacePrefix of object axisService, but generateOM method of class AxisService2WSDL11 want to check variable namespaceMap of of object axisService. Java2WSDLBuilder.generateWSDL() axisService.setTargetNamespacePrefix(getTargetNamespacePrefix()); AxisService2WSDL11.generateOM() Map namespaceMap = axisService.getNamespaceMap(); if (namespaceMap == null) namespaceMap = new HashMap(); String prefix = WSDLSerializationUtil.getPrefix(axisService.getTargetNamespace(), namespaceMap); if (prefix == null || "".equals(prefix)) { prefix = DEFAULT_TARGET_NAMESPACE_PREFIX; } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.