Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/373.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Axis 2 web服务调用返回带indexoutofbounds异常的soap错误1_Java_Soap_Axis2 - Fatal编程技术网

Java Axis 2 web服务调用返回带indexoutofbounds异常的soap错误1

Java Axis 2 web服务调用返回带indexoutofbounds异常的soap错误1,java,soap,axis2,Java,Soap,Axis2,大家好,我有以下信息: public ChampionResponseWrapper getChampions(@WebParam(name="cityStateId") Integer[] cityStateIds){ ...... ....... } 上面的方法在Axis2 web服务中,我使用hibernate从数据库检索数据,尽管这似乎与我遇到的问题无关 我使用soapui生成一个用于测试目的的请求,但得到的不是响应,而是一个错误 查看日志后,我看到以下堆栈跟踪: java.la

大家好,我有以下信息:

public ChampionResponseWrapper getChampions(@WebParam(name="cityStateId")   
Integer[] cityStateIds){
......
.......
}
上面的方法在Axis2 web服务中,我使用hibernate从数据库检索数据,尽管这似乎与我遇到的问题无关

我使用soapui生成一个用于测试目的的请求,但得到的不是响应,而是一个错误

查看日志后,我看到以下堆栈跟踪:

java.lang.ArrayINdexOutOfBoundsException: 1
   at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:639)
........
........
在将调试器附加到该方法并再次发送请求时,我甚至没有得到该方法告诉我这与Axis2有关的信息,但在google fu尝试之后,我一点也不知道


关于这个问题的任何启示都将是非常棒的。

这是在像Tomcat这样的servlet容器中运行还是在其他容器中运行?如果是,什么?嗨,这是在tomcat上运行的