Hi Kai,

If the type of the object you are trying to pass is byte[], then you should
use byte[].class.

Thanks,
-Matt

> -----Original Message-----
> From: Kai Donker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 07, 2001 5:55 PM
> To: [EMAIL PROTECTED]
> Subject: is Bytes.class for bytes[]
>
>
> Hi there,
>
> I 've set up a WebService with a static method. Parameters are bytearrays,
> returntype is also a bytearray.
>
> When invoking I get the following error:
>
> Generated fault:
>   Fault Code   = SOAP-ENV:Client
>   Fault String = [B@7b56b1
>
> May the cause for this be, that the Parameter-objects are not corectly
> defined? I did it like this:
> params.addElement(new Parameter("file", Byte.class, file, null));
>
> Thanks, Kai
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to