What customization to apply for JAX-WS to unwrap return objects to lists?

点点圈 提交于 2019-12-05 14:43:16

First off all web service std are not 100% portable yet. Replace

<s:element minOccurs="0" maxOccurs="1" name="datasources" type="tns:ArrayOfString"/>

with

<s:element name="datasources" type="xs:string" form="qualified" minOccurs="0" maxOccurs="unbounded" />

also replace

<s:element minOccurs="0" maxOccurs="1" name="CSID2ExtRefsResult" type="tns:ArrayOfExtRef"/>

with

<s:element minOccurs="0" maxOccurs="unbounded" name="CSID2ExtRefsResult" type="tns:ExtRef"/>

Also you may remove complexType such as "ArrayOfString",ArrayOfExtRef.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!