Eclipse WTP: Web service that receives an array?

S

spacerook

Hello,

I have created a simple Java class that receives an integer array as
input and then returns an integer array (simple, I know, but I'm just
trying to get it working right now). I would like to use Eclipse to
make this into a web service and to generate some client JSP's. (I am
going through the tutorials here
http://www.eclipse.org/webtools/jst...orials/WebServiceClient/WebServiceClient.html).
However, when I try to create the JSP client, I get the error message:

"The Sample JSP client does not support arrays"

Is there a way around this problem?

Here is my Java class:

package test;
public class ArrayTester {
public int[] myArray(int[] num)
{
int[] arr = {1, 3, 4, 5, 6};
return arr;
}
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top