yes, array list will work i.e
ArrayList ret3 = (ArrayList) cu.call.invoke( new Object [] { jobid });
----- Original Message ----
From: sarika pramod <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, August 18, 2008 3:31:57 PM
Subject: Re: Returning Map / List from web service
Hi jaki,
List/Map will not work - since those are Java specific types which may not be
representable in all languages -- hence web-services don't support them.
I am also facing the same issues currently.
Regards,
Sarika
On Mon, Aug 18, 2008 at 6:46 PM, jaki <[EMAIL PROTECTED]> wrote:
Any help on this? :( I have exposed the ejbs using @Webservice annotations
and not using the axis wsdd method. Should that be what's causing the
problem? Please help
jaki wrote:
>
> Hi all,
>
> I have an axis WS client calling a remote ejb3 web service as below:
>
> Call call = (Call) service.createCall();
> call.setTargetEndpointAddress( new java.net.URL(endpoint) );
> call.setOperationName(new QName("http://session.um.com/",
> "getAuc") );
>
>
> call.addParameter("arg0",
> org.apache.axis.Constants.XSD_INT,
> javax.xml.rpc.ParameterMode.IN);
>
>
> call.setReturnClass(HashMap.class);
> HashMap ret = (HashMap) call.invoke( new Object[] {"1"}
>
> Thought it throws no error, the returned Map / List never has any contents
> in them. Also, if instead of setReturnClass I try to use
> setReturnType(org.apache.axis.Constants.XSD_ANY) it gives me the below
> error:
>
> could not find deserializer for type {http://www.w3.org/2001/XMLSchema}any
>
--
View this message in context:
http://www.nabble.com/Returning-Map---List-from-web-service-tp19010233p19031177.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]