cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1307) wsdl2java creates overwrites Adapter when using different jaxws:bindings for diferent wsdls
Date Thu, 10 Dec 2009 02:43:18 GMT

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

Daniel Kulp resolved CXF-1307.
------------------------------

       Resolution: Won't Fix
    Fix Version/s: Invalid


This isn't something we can change as it's in the JAXB code generators.   

Normally, what is done in this case is to use jaxb to generate the objects from the schemas
themselves, then when running wsdl2java, use a binding file to have it "skip" generating for
those schemas.     Or, turn on the episode support in the first step above.

> 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
>          Components: Tooling
>    Affects Versions: 2.0.2
>         Environment: using maven plugin, on a windows system
>            Reporter: Eugenio Marchiori
>            Priority: Minor
>             Fix For: Invalid
>
>
> 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.


Mime
View raw message