JAX-WS数组 - 该方法不适用于参数

时间:2011-05-23 22:25:37

标签: java arrays web-services

通过webservice JAX-WS(Java客户端和Java服务器)传递数组时收到错误消息:

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
The method insertIgnoreMultipleUsers(StringArray) in the type Queue is not applicable for the arguments (String[])

this thread中我读到List是一种可能的解决方案。 但是当改变到List我得到类似的消息时。

this thread中,他们建议使用数组,但在我的情况下不起作用。

如果有人可以帮助我会很棒。

提前感谢!

0 个答案:

没有答案