从java客户端从SOAP服务获取响应时,出现以下错误:
[javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.carefirst.com/Enterprise/DAC/AddressRetrievalSchema", local:"AddressInfoResponse"). Expected elements are (none)]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl
我使用从xsd文件集合生成一个C#类。xsd文件使用<xsd:documentation>标记来包含有用的描述。示例:
<xsd:complexType name="AddressType">
<xsd:annotation>
<xsd:documentation>A formatted or free form address and its intended use.</xsd:documentation>
</xsd:annotation>
不幸的是,所有这些都在生成的