tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijai Kalathur (Created) (JIRA)" <...@tuscany.apache.org>
Subject [jira] [Created] (TUSCANY-4033) Interface matching code in EndpointReferenceBinderImpl fails doing a wsdlgen
Date Thu, 22 Mar 2012 14:34:22 GMT
Interface matching code in EndpointReferenceBinderImpl fails doing a wsdlgen

                 Key: TUSCANY-4033
                 URL: https://issues.apache.org/jira/browse/TUSCANY-4033
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-2.0
            Reporter: Vijai Kalathur

If I have a service interface which does not contain a no-arg default constructor and try
to do a remote service invocation to that service, the invocation fails when the haveMatchingInterfaceContracts
method in EndpointReferenceBinderImpl tries to generate a WSDL.  Since the interface does
not contain a no-arg constructor, the wsdl  gen fails.  We might have to update something
in this check

        if (endpointReferenceContract.getClass() != endpointContract.getClass() ||
            endpointReferenceContract.getNormalizedWSDLContract() != null ||
            endpointContract.getNormalizedWSDLContract() != null) {
            endpointReferenceContract = ((RuntimeEndpointReference)endpointReference).getGeneratedWSDLContract(endpointReferenceContract);
            endpointContract = ((RuntimeEndpoint)endpoint).getGeneratedWSDLContract(endpointContract);

to not generate the wsdl in certain cases.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message