开发者

Bind Exception not thrown

开发者 https://www.devze.com 2023-03-19 08:47 出处:网络
I am working on Spring Web Services. For some reason if my inputs in xml are not in proper for开发者_StackOverflow中文版mat, it is not throwing bind exception. Instead it just assigns null and proceed

I am working on Spring Web Services. For some reason if my inputs in xml are not in proper for开发者_StackOverflow中文版mat, it is not throwing bind exception. Instead it just assigns null and proceeds. What could be the problem?


A few weeks ago I was having same problem. The web services that I am trying to use was using Apache Axis 1.4 version and there was a bug related to List objects in Axis. But web services was not belong to us so We reported and requested new bug-free versions and problem disappeared.

My suggestion is first use SOAP UI and confirm you get the xml when you request with proper parameters.Then check for empty or incorrect namespaces .

0

精彩评论

暂无评论...
验证码 换一张
取 消