DII client: IndexOutOfBoundsException when calling method with 0 argument

From: Abhishek Agrawal <>
Date: Mon, 11 Oct 2004 11:44:46 -0400

I am trying to call "GetLondonGoldAndSilverFix" method on the "LondonGoldAndSilverFix" (

This perticular method does not take any parameter and hence in my DII client I am not calling method

But somehow DII client does not like it and seems like its alwaysexpecting at least 1 parameter.
I get the following exception when I try to call invoke.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(
at java.util.ArrayList.get(
at com.sun.xml.rpc.client.dii.BasicCall.createLiteralRequestSerializer(
at com.sun.xml.rpc.client.dii.BasicCall.getRequestSerializer(
at com.sun.xml.rpc.client.dii.BasicCall.invoke(
at com.appiancorp.process.runtime.activities.WebServiceActivity.doCall(
at com.appiancorp.process.runtime.activities.WebServiceActivity.main(

The DII client works fine for functions that take one or more parameters (Obviously, I have not been able to run it for complex types, but thatýs a different story..)

Has anyone else noticed this problem?

Thanks !