WSDL类型"soapenc:string";无法解决 [英] WSDL type "soapenc:string" cannot be resolved
问题描述
将WSDL导入RAD 8(websphere 6.1)会出现错误:
importing my WSDL into RAD 8 (websphere 6.1) gives error:
<wsdl:part name="muid" type="soapenc:string"/>
由muid引用的字符串类型无法解析.
The string type that is references by muid cannot be resolved.
XSD:类型引用'http://schemas.xmlsoap.org/soap/encoding/#string'尚未解析
XSD: Type reference 'http://schemas.xmlsoap.org/soap/encoding/#string' is unresolved
推荐答案
string
是一种在"the" XML模式中定义的类型.检查,哪个前缀用于引用WSDL中的名称空间http://www.w3.org/2001/XMLSchema
(XML模式名称空间)(最有可能与xsi
,xs
,xsd
类似).
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
).
然后将行更改为
<wsdl:part name="muid" type="xs:string"/>
其中xs
是您的名称空间前缀.
where xs
is your namespace prefix.
这篇关于WSDL类型"soapenc:string";无法解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!