[
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.