You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2007/12/03 22:59:43 UTC

[jira] Resolved: (CXF-1237) Update wsdltojava to make generated service qnames publicly accessible

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

Daniel Kulp resolved CXF-1237.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.4

> Update wsdltojava to make generated service qnames publicly accessible
> ----------------------------------------------------------------------
>
>                 Key: CXF-1237
>                 URL: https://issues.apache.org/jira/browse/CXF-1237
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.0.4
>            Reporter: Sergey Beryozkin
>            Assignee: Daniel Kulp
>            Priority: Trivial
>             Fix For: 2.0.4
>
>
> wsdltojava generates something like :
> HelloService extends Service {
>     private static QName SERVICE_QNAME = new QName("http://foo/bar", "baz");
>     public HelloService(URL wsdlLocation, QName serviceName) {...}
> }
> Thus client code always needs to duplicate the service QName declaration in order to use a generated HelloService. Making a SERVICE_QNAME public will simplify client code without compromising  the 'privacy' of HelloService

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