Freeman,

Thank you for the information!  I'll be happy to try it out on a 4.2
snapshot build.  One question though - I can't seem to find a 4.2 snapshot
build.  I am looking here and only see 4.1.0 as the latest snapshots:

https://repository.apache.org/content/groups/snapshots-group/org/apache/servicemix/apache-servicemix/

Is this what you meant?  If not, where do I get 4.2 snapshots?

-JB


Freeman Fang wrote:
> 
> Hi,
> 
> This is a known issue tracked by SMXCOMP-683 [1] and get fixed very  
> recently(This Monday).
> So you need download latest 4.2 snapshot kit where servicemix-cxf-se  
> component already pick up this fix.
> 
> You needn't add context="#context" anymore with this fix.
> [1]https://issues.apache.org/activemq/browse/SMXCOMP-683
> 
> Freeman
> On 2010-3-12, at 上午3:59, jbgill wrote:
> 
>>
>> Hi all,
>>
>> In a JBI service assembly, based on the cxf-wsdl-first example, I  
>> have been
>> able to successfully use the <cxfse:proxy .... /> tag to inject a  
>> CXF proxy
>> into my cxfse service unit and call to another JBI endpoint with  
>> this proxy.
>>
>> Now I am trying to do the exact same thing in an OSGI - packaged cxfse
>> service unit (based on the cxf-wsdl-first-osgi-package example) and am
>> getting an exception:
>>
>> "org.springframework.beans.factory.NoSuchBeanDefinitionException: No  
>> bean
>> named 'context' is defined"
>>
>> when I deploy and it tries to inject the proxy.  Here is the relevant
>> excerpt from my beans.xml:
>>
>>   <cxfse:endpoint>
>>        <cxfse:pojo>
>>          <bean  
>> class="org.apache.servicemix.samples.wsdl_first.PersonImpl"
>>>
>>            <property name="es">
>>              <cxfse:proxy service="bp:HelloPortTypeService"
>> context="#context" type="bpeltest.wsdl.HelloPortType"/>
>>            </property>
>>          </bean>
>>        </cxfse:pojo>
>>    </cxfse:endpoint>
>>
>> What am I doing wrong?  How can I get the proxy injected with OSGI
>> packaging?  Is it even possible?
>>
>> Thanks,
>> JB
>>
>> -- 
>> View this message in context:
>> http://old.nabble.com/cxfse-proxy-injection-in-osgi-packaged-cxfse-service-unit-tp27869007p27869007.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/cxfse-proxy-injection-in-osgi-packaged-cxfse-service-unit-tp27869007p27876069.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to