True.  Arrays are objects.  Stupid stupid stupid me.  :)

-----Original Message-----
From: Stan Jordan [mailto:[EMAIL PROTECTED]] 
Sent: 18 April, 2002 1:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Help required!!

Uh, I disagree.  I have built a (toy) Axis web service that returns a byte
array, and the signature I used is:
      public byte[] sayHello(String s)
The client invokes like this:
     byte[] b = (byte[])port.sayHello("Hello");
Works fine.
Cheers.
Stan

----- Original Message -----
From: "Newman, Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 12:42 PM
Subject: RE: Help required!!


> The object Byte, rather than the native type byte.
>
> -----Original Message-----
> From: vidula pant [mailto:[EMAIL PROTECTED]]
> Sent: 18 April, 2002 1:43 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Help required!!
>
> I don't quite get it? "BYTE[]" do you mean "Byte" the
> wrapper class?
> -Vidula
> --- [EMAIL PROTECTED] wrote:
> > I think it will be BYTE[]  theByte = (BYTE[])
> > someMethodThatReturnObject();
> > and then you have to convert it in to primitive type
> > array .....
> >
> > rajesh
> >
> >
> >
> >
> > Please respond to [EMAIL PROTECTED]
> >
> >
> >
> > To:   "'[EMAIL PROTECTED]'"
> > <[EMAIL PROTECTED]>
> >
> >
> > cc:
> >       (bcc: Rajesh Mittal/HBUS/HSBC)
> > Subject:  RE: Help required!!
> >
> >
> >
> > cast it to a byte[] .... byte[] bytes =
> > (byte[])someMethodThatReturnObject();
> >
> > if your sure it will be a byhte array
> >
> > -----Original Message-----
> > From: vidula pant [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 18, 2002 1:55 PM
> > To: [EMAIL PROTECTED]
> > Subject: Help required!!
> >
> >
> > When returning byte arrays, the return type is
> > Object.
> > So I am confused how would I get the byte array?
> > Many thanks for any help,
> > Vidula
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Tax Center - online filing with TurboTax
> > http://taxes.yahoo.com/
> >
> >
> >
> >
> >
> >
> >
> >
> >
> ********************************************************************
> >  This  message and any attachments are confidential
> > to the ordinary
> >  user  of the e-mail address to which it was
> > addressed and may also
> >  be  privileged.   If  you  are not the addressee
> > you may not copy,
> >  forward,   disclose  or  use  any  part  of  the
> > message  or  its
> >  attachments and if you have received this message
> > in error, please
> >  notify  the sender immediately by return e-mail and
> > delete it from
> >  your system.
> >
> >  Internet  communications  cannot  be  guaranteed
> > to  be secure or
> >  error-free  as  information could be intercepted,
> > corrupted, lost,
> >  arrive  late or contain viruses.  The sender
> > therefore does not
> >  accept  liability  for  any  errors or omissions in
> > the context of
> >  this  message  which  arise  as a result of
> > Internet transmission.
> >
> >  Any opinions contained in this message are those of
> > the author and
> >  are not given or endorsed by the HSBC Group company
> > or office
> >  through which this message is sent unless otherwise
> > clearly
> >  indicated in this message and the authority of the
> > author to so
> >  bind the HSBC entity referred to is duly verified.
> >
> >
> ********************************************************************
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>

Reply via email to