Aloha All!

I'm generating a web service with the integrated web service wizard in WSSD 5.1. My method signature is as follows:
public AnyType myMethod(int[] id)

This generates the following in the .wsdl file:
/element name="myMethod"/
/element maxOccurs="unbounded" name="id" type="xsd:int"//

The service works great if I pass it an array with more than one values. If I pass an array with only one value I receive the following error:

java.lang.IllegalArgumentException: java.lang.ClassCastException@49d649d6
at java.lang.Throwable.(
at java.lang.Throwable.(
at java.rmi.RemoteException.(
at ovider.invokeMethod(

Any ideas on how to solve this issue?