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<http://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<http://www.w3.org/2001/XMLSchema%7Dany>
> >
>
> --
> 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]
>
>

Reply via email to