Hi,

Apache Servicemix 3.2.1 is quite old, coold you try with more recent Servicemix version?

The NPE shows that the service/interfacename between cxfbc and cxf se is mismatch.

There's a cxf-wsdl-first example shipped with kit which should be a good start for you.

Freeman
On 2012-6-14, at 下午4:04, mrtshezi wrote:

Hi, Can Somebody help me with these error

I have a web service created using wsdl2java plugin. i downloaded all the
dependencies and it build successfully with my cxf-bc,  cxf-se-su and
cxf-sa. i deployes this on my servicemix 3.2.1 and deployed successfully, however when i try to send soap request it respond by <faultstring>Fault occurred while processing.</faultstring> and in my server log, the following
apear

ERROR - CxfSeComponent - Error processing exchange InOut[
 id: ID:10.56.4.51-137e9fa6d5b-4:0
 status: Active
 role: provider
 interface: {http://servicemix.apache.org/examples}Loan
 service: {http://servicemix.apache.org/examples}LoanService
 endpoint: LaonServiceImplPort
 operation: {http://servicemix.apache.org/examples}getQoute
 in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.
sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://servicemix.apache.org/exam
ples" name="getQouteRequest" type="msg:getQouteRequest"
version="1.0"><jbi:part>
<exam:getQoute xmlns:exam="http://servicemix.apache.org/examples";>

        <exam:args0
xmlns:exam="http://servicemix.apache.org/examples";>100</exa
m:args0>
     </exam:getQoute></jbi:part></jbi:message>
]
java.lang.NullPointerException
       at
org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:
185)
       at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
feCycle.java:538)
       at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
BaseLifeCycle.java:490)
       at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
Cycle.java:46)
       at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
d(DeliveryChannelImpl.java:610)
       at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
w.java:170)
       at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
ava:167)
       at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
a:134)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
       at java.lang.Thread.run(Thread.java:619)
Jun 14, 2012 9:52:56 AM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
       at
org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.h
andleMessage(CxfBcConsumer.java:454)
       at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
orChain.java:207)
       at
org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorCha
in.java:184)
       at
org.apache.servicemix.cxfbc.CxfBcConsumer.process(CxfBcConsumer.java:
183)
       at
org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handl
eMessage(CxfBcConsumer.java:430)
       at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
orChain.java:207)
       at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
ationObserver.java:73)
       at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceReque
st(JettyHTTPDestination.java:268)
       at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(Je
ttyHTTPDestination.java:224)
       at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTP
Handler.java:54)
       at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
12)
       at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:211)
       at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
       at org.mortbay.jetty.Server.handle(Server.java:313)
       at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
6)
       at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:844)
       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
       at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:396)
       at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
.java:442)
Caused by: java.lang.NullPointerException
       at
org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:
185)
       at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
feCycle.java:538)
       at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
BaseLifeCycle.java:490)
       at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
Cycle.java:46)
       at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
d(DeliveryChannelImpl.java:610)
       at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
w.java:170)
       at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
ava:167)
       at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
a:134)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
       at java.lang.Thread.run(Thread.java:619)


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/ERROR-CxfSeComponent-Error-processing-exchange-InOut-tp5713692.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply via email to