[ http://issues.apache.org/jira/browse/TUSCANY-679?page=all ]

Scott Kurz updated TUSCANY-679:
-------------------------------

    Attachment: InterfaceWSDLLoader.ConstructorFix.patch

Hopefully this is the right patch format (this is my first patch here)

> InterfaceWSDLLoader mismatch btw.  @Constructor annot. and actual Constructor 
> parms
> -----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-679
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-679
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding
>    Affects Versions: Java-M2
>            Reporter: Scott Kurz
>         Attachments: InterfaceWSDLLoader.ConstructorFix.patch
>
>
> PROBLEM:
> Mismatch btw. annotation:
>     @Constructor({"registry"})
> and Constructor:
>     public InterfaceWSDLLoader(@Autowire LoaderRegistry registry,
>                                @Autowire WSDLDefinitionRegistry wsdlRegistry) 
> {
> ----------------------------------------
> SYMPTOM:
> org.apache.tuscany.core.implementation.processor.InvalidAutowireException: 
> Names in @Constructor and autowire parameter do not match at 2 [public 
> org.apache.tuscany.idl.wsdl.InterfaceWSDLLoader(org.apache.tuscany.spi.loader.LoaderRegistry,org.apache.tuscany.idl.wsdl.WSDLDefinitionRegistry)]
> Context stack trace: [tuscany.system][intf.wsdl.loader]
>       at 
> org.apache.tuscany.core.implementation.processor.ImplementationProcessorServiceImpl.processAutowire(ImplementationProcessorServiceImpl.java:186)
>       at 
> org.apache.tuscany.core.implementation.processor.ImplementationProcessorServiceImpl.processParam(ImplementationProcessorServiceImpl.java:113)
>       at 
> org.apache.tuscany.core.implementation.processor.ConstructorProcessor.visitConstructor(ConstructorProcessor.java:94)
>       at 
> org.apache.tuscany.core.implementation.IntrospectionRegistryImpl.introspect(IntrospectionRegistryImpl.java:83)
>       at 
> org.apache.tuscany.core.implementation.system.loader.SystemComponentTypeLoader.loadByIntrospection(SystemComponentTypeLoader.java:85)
>       at 
> org.apache.tuscany.core.implementation.system.loader.SystemComponentTypeLoader.load(SystemComponentTypeLoader.java:69)
>       at 
> org.apache.tuscany.core.implementation.system.loader.SystemComponentTypeLoader.load(SystemComponentTypeLoader.java:42)
>       at 
> org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
> ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to