On 2010-6-9, at 上午4:05, Amigo_ wrote:



Freeman Fang wrote:

Hi,

My comment inline
On 2010-6-8, at 上午1:35, Amigo_ wrote:



Freeman Fang wrote:

Hi,

For SMX4.x (OSGi container), you shouldn't put context="context" for
cxfse:proxy, the proxy will create it automatically for you,
SMXCOMP-683[1] track this issue.
You should use latest released SMX4.2 to use this new feature.

[1]https://issues.apache.org/activemq/browse/SMXCOMP-683

Freeman


Hi,

I downloaded FUSE ESB / Apache ServiceMix 4.2 from this site
http://fusesource.com/downloads/ and after removing context
parameter I got
error about not finding context:
The one you download is FUSE ESB 4.2 and it didn't pick up fix for
SMXCOMP-683 yet.
You should download apache servicemix4.2 from [1]

[1]http://repo2.maven.org/maven2/org/apache/servicemix/apache-servicemix/4.2.0/

Freeman


Hi, thanks for reply.

I installed new version, but it still doesn't work ... Now I have got an
error about not having configuration
META-INF/cxf/transport/jbi/cxf-transport-jbi.xml . I've done some
researching over internet but haven't found any similar problems.

I thought that it could be caused by not having some bundle, but I have
installed this bundle which should ensure that:
[ 123] [Active ] [ ] [ ] [ 60] Apache CXF Runtime JBI
Transport (2.2.6)


Hi,

A quick question, did you already import-package META-INF.cxf in your pom.xml?

Freeman
Error stack:
Caused by: org.springframework.context.ApplicationContextException: Failed
to load configuration META-INF/cxf/transport/jbi/cxf-transport-jbi.xml
        at
org .apache .cxf .bus .spring .BusApplicationContext.getConfigResources(BusApplicationContext.java: 152)
        at
org .springframework .context .support .AbstractXmlApplicationContext .loadBeanDefinitions(AbstractXmlApplicationContext.java:107)
        at
org .apache .cxf .bus .spring .BusApplicationContext .loadBeanDefinitions(BusApplicationContext.java:262)
        at
org .springframework .context .support .AbstractRefreshableApplicationContext .refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
        at
org .springframework .context .support .AbstractApplicationContext .obtainFreshBeanFactory(AbstractApplicationContext.java:422)
        at
org .springframework .context .support .AbstractApplicationContext.refresh(AbstractApplicationContext.java: 352)
        at
org .apache .cxf .bus.spring.BusApplicationContext.<init>(BusApplicationContext.java: 91)
        at
org .apache .cxf .bus .spring .SpringBusFactory.createApplicationContext(SpringBusFactory.java:110)
        at
org .apache .cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
        ... 36 more

--
View this message in context: 
http://old.nabble.com/Invoking-external-web-service-from-SE-tp28722871p28822487.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to