cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1237) Update wsdltojava to make generated service qnames publicly accessible
Date Mon, 26 Nov 2007 16:17:43 GMT
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.


Mime
View raw message