简体   繁体   English

axis2.databinding.ADBException:意外的子元素

[英]axis2.databinding.ADBException: Unexpected subelement

I'm writting a mock response for a SOAP Web Service and when I call the Web Service I get this Exception: 我正在为SOAP Web服务编写模拟响应,当我调用Web服务时,出现以下异常:

java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement relatedCharacteristicValues

I'm writting the response over the template that is generated from SOAPUI, so I don't understand how can exist an "Unexpected subelement" in the response. 我将响应写在从SOAPUI生成的模板上,所以我不理解响应中如何存在“意外的子元素”。

Here's the unexpected element: 这是意外的元素:

    <typ:relatedCharacteristicValuesList>
      <!--1 or more repetitions:-->
      <typ:relatedCharacteristicValues/>
   </typ:relatedCharacteristicValuesList>

Can someone help me with this? 有人可以帮我弄这个吗?

只需评论“意外元素”即可,它确实很奇怪,SOAP UI生成带有意外元素的响应模板确实很奇怪。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM