[kepler-users] Web Service with Array as Output
Ali, Muhannad
muhannad.ali at student.kit.edu
Sun Dec 4 08:54:06 PST 2011
Hi,
I am trying to deal with the result of my web service, which is Array of String. I am getting failure:
1. when I use WSWithComplexTypes actor I get "ptolemy.kernel.util.IllegalActionException: ArrayToken(Token[]) called with a an array of length less than 1. To create an array of length 0, use the ArrayToken(Token) constructor or the "emptyArray(type)" function in the expression language. The reason is that elements in ArrayToken must have a type."
2. I tried to use Web Service Actor instead, in this case I get Array Length always equals to 1 and when I try to display the elements of the Array I get: "Cannot identify the type instance of the result!".
Any help please? Thanks!
Best regards,
Muhannad
More information about the Kepler-users
mailing list