[ 
https://issues.apache.org/jira/browse/AXIS2-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Isuru Eranga Suriarachchi reassigned AXIS2-4475:
------------------------------------------------

    Assignee: Isuru Eranga Suriarachchi

> java2wsdl -tp option does not work!
> -----------------------------------
>
>                 Key: AXIS2-4475
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4475
>             Project: 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
>            Assignee: Isuru Eranga Suriarachchi
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to