Hi Tim,

boolean has a wrapper class called Boolean. This is probably what will be returned.
You should be able to call ((Boolean)result).booleanValue to get the primitive type.

Nathan

-----Original Message-----
From: Tim Hu [mailto:[EMAIL PROTECTED]
Sent: Thursday, 4 November 2004 2:29 PM
To: axis
Subject: (newbie) returning boolean value


dear all:

i am trying a very simple webservice deployed in the
basic .jws fashion. the method returns a "boolean".

however, in the sample client code, the way to call
this method is to do:

Object result = call.invoke( new Object[] { offer } );

however, call.invoke returns a java Object, which does
not match the _native_ type of boolean. how should

any help in solving this would be appreciated.

ye


                
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

Reply via email to