cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luc <luc....@gmail.com>
Subject IllegalArgumentException when calling a method using java.util.Map as the return type
Date Mon, 29 Dec 2008 03:20:12 GMT
Hi

Now i'm using cxf-2.1.3,spring2.5(both server and client),using aegis as the
data-binding toolkit.
I have a method using java.util.Map as the return type.

When called it in the client program,i caught the
「org.apache.cxf.interceptor.Fault: null while invoking public abstract
java.util.Map XxxService.getXxx
(int,int,java.lang.String) with params [null, null, null].」
It's caused by java.lang.IllegalArgumentException,and the server program
can't do anything.
And in client program another method using java.util.List as return type
just received a null return value(the server returned a ArrayList Object).

When I changed the return type to void(first method),2 methods worked fine.

Thanks.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message