You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by uniker80 <un...@gmail.com> on 2007/06/29 04:10:49 UTC
annotated bean with http endpoint
i deployed a annotatedbean example available at
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/deployables/serviceengines/servicemix-bean/xref-test/org/apache/servicemix/bean/beans/AnnotatedBean.html
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/deployables/serviceengines/servicemix-bean/xref-test/org/apache/servicemix/bean/beans/AnnotatedBean.html
and i configured http endpoint as follow...
<http:endpoint service="s:bean-annotatedbean-service"
endpoint="bean-annotatedbean-endpoint"
role="consumer"
locationURI="http://localhost:8196/bean-annotatedbean-service/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
defaultOperation="foo"
soap="true" />
is that correct? i've got exceptions
java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInvocation
at
org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java:
124)
at
org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java:
88)
at
org.apache.servicemix.bean.support.BeanInfo.<init>(BeanInfo.java:61)
at
org.apache.servicemix.bean.BeanEndpoint.getBeanInfo(BeanEndpoint.java
:174)
at
org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoi
nt.java:238)
at
org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:201
)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
feCycle.java:489)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
BaseLifeCycle.java:441)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
Cycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
d(DeliveryChannelImpl.java:593)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
w.java:174)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
ava:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
a:134)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:619)
what is wrong? please help me. thanks
--
View this message in context: http://www.nabble.com/annotated-bean-with-http-endpoint-tf3997827s12049.html#a11353991
Sent from the ServiceMix - User mailing list archive at Nabble.com.