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
            Priority: Trivial


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.

Reply via email to