My WSDL is RPC/literal. What I did just now I rewrote the WSDL to document/literal style and it's working.
Examining carefully the two different SOAP messages in case of RPC style the SOAPAction="" which was caused by the fact that in WSDL file the soapAction was not defined in: <soap:operation/> Now I have <soap:operation soapAction=" http://j2ee.netbeans.org/wsdl/CommandExecute_BPEL/CommandExecute/Execute"/> with RPC/literal the servicemix bc is handing over the message to Camel, it's working. soapAction was empty which caused the cxf bc: java.lang.NullPointerException: MEP not found error Thanks, Ysolt On Wed, Aug 3, 2011 at 11:36 AM, Willem Jiang <willem.ji...@gmail.com>wrote: > On 8/3/11 2:30 PM, Claus Ibsen wrote: > >> On Tue, Aug 2, 2011 at 2:03 PM, Kovacs Zsolt<zsolt.m.kov...@gmail.com**> >> wrote: >> >>> I'm still fighting with this java.lang.**NullPointerException: MEP not >>> found >>> problem. The only difference I have with other >>> WSDL documents is the soap binding type is RPC. >>> >> > CXF doesn't support RPC/encoded. But the wsdl can be RPC/literal. > > > >>> >> If I recall then Apache CXF does not support the RPC style? But I may >> be mistaking. >> >> >> The WSDL file is valid, I changed every part, every namespace, and still >>> I'm >>> getting the same error. I even checked the >>> JbiInInterceptor source code. As I see MEP is calculated from message if >>> SOAPAction="". >>> >>> Simply I don't see the reason for this NullPointerException ... >>> >>> Zsolt >>> >>> >> >> >> > > -- > Willem > ------------------------------**---- > FuseSource > Web: http://www.fusesource.com > Blog: > http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > Weibo: willemjiang >