cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kieselhorst (JIRA)" <>
Subject [jira] [Commented] (CXF-6500) autoNameResolution option using Dynamic CXF client
Date Thu, 13 Apr 2017 11:24:41 GMT


Dennis Kieselhorst commented on CXF-6500:

SchemaCompilerOptions are passed to XJC but autoNameResolution is a feature of wsdl2java tool
which is not involved here. So this is not a critical bug but a feature request. Instead of
DefaultClassNameAllocator a ClassNameAllocator with autoNameResolution (similar to the ClassNameAllocatorImpl
from tools) needs to be implemented for this.

> autoNameResolution option using Dynamic CXF client
> --------------------------------------------------
>                 Key: CXF-6500
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>         Environment: Apache CXF 3.0.5
>            Reporter: Aditya Chava
>            Priority: Critical
> Hi There 
> I am using JaxwsDynamicClient and I am trying to generate classes for a wsdl for which
i am gettting " A class/interface with the same name "XXXXXX" is already in use. Use a class
customization to resolve this conflict." There is a way using Apache CXF i.e autoNameResolution
but is there a way to achieve using dynamic client.
> I tried using 
> {code}
> JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance();
> String options [] = {"XautoNameResolution"};
> factory.setSchemaCompilerOptions(options);
> {code}
> but no luck. Please help me in this regard.
> Thanks in Advance

This message was sent by Atlassian JIRA

View raw message