Brijesh, What is in between those two endpoints? Perhaps that's the culprit in loosing the message payload.
Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/10/4 brijesh <[email protected]>: > > Hi JB, > > Thanks for the reponse , > > I have downloaded apache-servicemix-web-3.4.0.4-fuse.war from following > location > > http://repo.open.iona.com/maven2/org/apache/servicemix/apache-servicemix-web/3.4.0.4-fuse/ > > my xbean as follows > > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" > xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" > xmlns:sns="http://tempuri.org/" > xmlns:nte="http://www.ekaplus.com/SyncNotifyEvent/" > xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0 > http://servicemix.apache.org/schema/servicemix-cxfbc-3.2.2.xsd > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> > > <cxfbc:consumer wsdl="classpath:SyncNotifyEvent.wsdl" > useJBIWrapper="false" useSOAPEnvelope="false" > targetService="nte:notifyeventSunEIPService" /> > > <cxfbc:provider wsdl="classpath:EKASUNUtils.wsdl" > > locationURI="http://10.0.2.80:8001/wsSUNConnect/EKASUNUtils.asmx" > service="sns:EKASUNUtils" endpoint="EKASUNUtilsSoap" > useJBIWrapper="false" useSOAPEnvelope="false" > interfaceName="sns:EKASUNUtilsSoap" /> > </beans> > > Thanks & Regards > Brijesh N K > > > Jean-Baptiste Onofré wrote: >> >> Hi Brijesh, >> >> it seems that it's a problem with databinding: CXB databinder (JAXB or >> Aegis depending of your xbean) can't marshal/unmarshal message because >> the message data is null. >> >> Could you provide your xbean.xml ? When you talk about smx 3.4, it's one >> that you have compiled from the trunk ? >> >> Regards >> JB >> >> brijesh wrote: >>> Hello , >>> >>> When i am calling smx-bc end point i am getting following error, It was >>> working perfectly fine in smx 3.3 version. I have deployed same service >>> assembly in smx 3.4 version, I get the below error. >>> >>> java.lang.NullPointerException >>> at >>> org.apache.cxf.interceptor.AbstractInDatabindingInterceptor.getDataReader(AbstractInDatabindingInterceptor.java:85) >>> at >>> org.apache.cxf.interceptor.AbstractInDatabindingInterceptor.getDataReader(AbstractInDatabindingInterceptor.java:99) >>> at >>> org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:66) >>> at >>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) >>> at >>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104) >>> at >>> org.apache.servicemix.cxfbc.CxfBcConsumer$JbiChainInitiationObserver.onMessage(CxfBcConsumer.java:631) >>> at >>> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:302) >>> at >>> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:265) >>> at >>> org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70) >>> at >>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) >>> at >>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) >>> at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) >>> at >>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >>> at org.mortbay.jetty.Server.handle(Server.java:324) >>> at >>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) >>> at >>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) >>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) >>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) >>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) >>> at >>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) >>> at >>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) >>> Oct 4, 2009 10:01:17 AM org.apache.cxf.phase.PhaseInterceptorChain >>> doIntercept >>> >>> Any input on this. >>> >>> Regards >>> Brijesh N K >> >> -- >> Jean-Baptiste Onofré >> --------------------------------- >> HomePage >> http://www.nanthrax.net >> --------------------------------- >> Contacts >> [email protected] >> [email protected] >> --------------------------------- >> OpenSource >> BuildProcess/AutoDeploy >> http://buildprocess.sourceforge.net >> Apache ServiceMix >> http://servicemix.apache.org >> ----------------------------------- >> PGP : 17D4F086 >> >> > > -- > View this message in context: > http://www.nabble.com/java.lang.NullPointerException-in-cxf-bc-consumer-endpoint-tp25734849p25735989.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
