You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Kovacs Zsolt <zs...@gmail.com> on 2011/08/02 14:03:50 UTC

cxf bc: java.lang.NullPointerException: MEP not found

 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.

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

Re: cxf bc: java.lang.NullPointerException: MEP not found

Posted by Kovacs Zsolt <zs...@gmail.com>.
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 <wi...@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.kovacs@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
>

Re: cxf bc: java.lang.NullPointerException: MEP not found

Posted by Willem Jiang <wi...@gmail.com>.
On 8/3/11 2:30 PM, Claus Ibsen wrote:
> On Tue, Aug 2, 2011 at 2:03 PM, Kovacs Zsolt<zs...@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 (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Re: cxf bc: java.lang.NullPointerException: MEP not found

Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Aug 2, 2011 at 2:03 PM, Kovacs Zsolt <zs...@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.
>

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
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/