cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Beothy-Elo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5234) Simple Frontend Client Proxy does not work with Blueprint
Date Mon, 26 Aug 2013 15:27:51 GMT

     [ https://issues.apache.org/jira/browse/CXF-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zsolt Beothy-Elo updated CXF-5234:
----------------------------------

    Attachment: ComponentDefinitionException.txt
    
> Simple Frontend Client Proxy does not work with Blueprint
> ---------------------------------------------------------
>
>                 Key: CXF-5234
>                 URL: https://issues.apache.org/jira/browse/CXF-5234
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>    Affects Versions: 2.7.6
>         Environment: Running within Karaf 2.3.2
>            Reporter: Zsolt Beothy-Elo
>         Attachments: ComponentDefinitionException.txt, simple_frontend_blueprint.zip
>
>
> If I define a Simple Frontend client in my Blueprint configuration  
> {code:xml} 
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://cxf.apache.org/blueprint/core"
>     xmlns:sf="http://cxf.apache.org/blueprint/simple"
>     xsi:schemaLocation="
>   http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
>   http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
>   http://cxf.apache.org/blueprint/simple http://cxf.apache.org/schemas/blueprint/simple.xsd
>   ">
>   <bean id="customerApplication"
>       class="com.example.ba.application.customer.consumer.CustomerApplication"
>       init-method="startUp" destroy-method="shutdown">
>     <property name="customerService" ref="customServiceClient" />
>   </bean>
>   <sf:client id="customServiceClient"
>       serviceClass="com.example.customerservice.CustomerService"
>       address="http://localhost:8181/cxf/CustomerService">
>     <sf:dataBinding>
>       <bean class="org.apache.cxf.aegis.databinding.AegisDatabinding"/>
>     </sf:dataBinding>
>   </sf:client>
> </blueprint>
> {code}
>  
> and deploy the bundle to Karaf I get an
> {noformat}  
> org.osgi.service.blueprint.container.ComponentDefinitionException: Unresolved ref/idref
to component: customServiceClient 
> {noformat} 
> from aries, see the attachment for the complete exception. When using a corresponding
Spring configuration the client works fine. Looking into org/apache/cxf/frontend/blueprint/SimpleBPNamespaceHandler.java
in the simple frontend module I think some parts of the implementation are simply missing,
but this of course only a wild guess.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message