Niek Knijnenburg

Stringlist (String[]) as input

Discussion created by Niek Knijnenburg on Jun 19, 2012
Latest reply on Jul 3, 2012 by Jostein Ulseth

We are using Java BOM as input for our rules.

Now we have a rule which on the Java side wants to pass a Stringlist (String[]) as input parameter, but if we define the input of the ruleservice as "array of string" Blaze can not convert/cast this.

We get an exception like:

 

Cannot convert '21' to type class com.blazesoft.objects.java.NdModifiableIndexedCollection.

 What would be the best approach for this without doing to much conversions

Outcomes