wsdl2java creates overwrites Adapter when using different jaxws:bindings for 
diferent wsdls
-------------------------------------------------------------------------------------------

                 Key: CXF-1307
                 URL: https://issues.apache.org/jira/browse/CXF-1307
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0.2
         Environment: using maven plugin, on a windows system
            Reporter: Eugenio Marchiori
            Priority: Minor


When generating java code form wsdl files, if a different binding file is 
specified for each, the wsdl2java only creates one "Adapter1" class that 
overwrites the previous one, thus using the incorrect class for conversion.
I haven't found a workaround yet, besides modifing the generated code. I need 
this because I have to use two diferente webservices that use diferent coding 
for the date, and need diferente DateFormats for each.
I think the code shoud be modified in a way that when an Adapter already 
exists, and a new one must be created, it gets a new name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to