WSDL type “soapenc:string” cannot be resolved

空扰寡人 提交于 2019-12-11 04:33:12

问题


importing my WSDL into RAD 8 (websphere 6.1) gives error:

<wsdl:part name="muid" type="soapenc:string"/>

The string type that is references by muid cannot be resolved.

XSD: Type reference 'http://schemas.xmlsoap.org/soap/encoding/#string' is unresolved


回答1:


string is a type which has been defined in "the" XML Schema. Check, which prefix is used to reference the namespace http://www.w3.org/2001/XMLSchema (the XML Schema-namespace) in your WSDL (most probably something similar to xsi, xs, xsd).

Then change the line to

<wsdl:part name="muid" type="xs:string"/>

where xs is your namespace prefix.



来源:https://stackoverflow.com/questions/8745798/wsdl-type-soapencstring-cannot-be-resolved

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