Axis: passing arrays as parameters to webservices

Hi,

I'm using axis to setup a webservice.

In my client application, I need to pass an array of bytes to the webservice.

How would I set this up when creating my call?

Here is how I setup my calls:

call.removeAllParameters();

call.setOperationName("methodName");

call.addParameter("paramName1", XMLType.XSD_?, ParameterMode.IN);

call.setReturnType( XMLType.XSD_BOOLEAN );

Boolean ret = (Boolean) call.invoke(new Object[]{ bytes });

where 'bytes' is the array of bytes.

The question marks are where I don't know what to do.

Can anyone help me?

[624 byte] By [mike0110a] at [2007-10-2 5:11:33]
# 1
Try XMLType.SOAP_ARRAY (there is an example at this URL: http://www.bii.a-star.edu.sg/infoscience/seg/fileTransfer.asp)
swatdbaa at 2007-7-16 1:14:18 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...