0

Ok, I did a method in a Web Service on .NET and when a call the code in JSP I get an ArrayOfArrayOfString and in the web service i returned a String[][] Now that I want the size of the ArrayOfArrayOfString, I can't. How can I convert the ArrayOfArrayOfString into a String[][] or how do I get the size of the ArrayOfArrayOfString Thanks...

albita
  • 29
  • 7

1 Answers1

0

ArrayOfArrayOfString is ArrayOfString[], so it would be

ArrayOfString[] array;
int size = array.length()
  • No, it says: "incompatible types: ArrayOfArrayOfString cannot be converted to ArrayOfString[]" :( – albita Jan 01 '17 at 03:03
  • it seems similar to this problem, also see the accepted answer at http://stackoverflow.com/questions/505943/can-i-stop-my-wcf-generating-arrayofstring-instead-of-string-or-liststring – Foolish Boy Jan 01 '17 at 03:34