axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vidula pant <vpp...@yahoo.com>
Subject Re: Help required!!
Date Thu, 18 Apr 2002 19:20:24 GMT
So in the client I can just say:
result=(byte[])call.invoke( new Object[]{bytearray});
And it should work?
Thanks a ton,
Vidula

--- Stan Jordan <skjordan@worldnet.att.net> wrote:
> I should have mentioned that the stub does this
> (more-or-less):
>         Object resp = call.invoke(new Object[] {s});
>          return
>
(byte[])org.apache.axis.utils.JavaUtils.convert(resp,byte[].class);
> 
> ----- Original Message -----
> From: "Stan Jordan" <skjordan@worldnet.att.net>
> To: <axis-user@xml.apache.org>
> Sent: Thursday, April 18, 2002 12:55 PM
> 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" <snewman@ufsonline.com>
> > To: <axis-user@xml.apache.org>
> > 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:vpp201@yahoo.com]
> > > Sent: 18 April, 2002 1:43 PM
> > > To: axis-user@xml.apache.org
> > > Subject: RE: Help required!!
> > >
> > > I don't quite get it? "BYTE[]" do you mean
> "Byte" the
> > > wrapper class?
> > > -Vidula
> > > --- Rajesh.Mittal@us.hsbc.COM 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 axis-user@xml.apache.org
> > > >
> > > >
> > > >
> > > > To:   "'axis-user@xml.apache.org'"
> > > > <axis-user@xml.apache.org>
> > > >
> > > >
> > > > 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:vpp201@yahoo.com]
> > > > Sent: Thursday, April 18, 2002 1:55 PM
> > > > To: axis-user@xml.apache.org
> > > > 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/
> > >
> >
> >
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

Mime
View raw message