WSDL 类型“soapenc:string”无法解决

发布于 2024-12-24 23:05:24 字数 225 浏览 6 评论 0原文

将我的 WSDL 导入 RAD 8 (websphere 6.1) 时出现错误:

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

无法解析 muid 引用的字符串类型。

XSD:类型引用“http://schemas.xmlsoap.org/soap/encoding/#string”未解析

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

好多鱼好多余 2024-12-31 23:05:24

string 是一种已在“the”XML Schema 中定义的类型。检查哪个前缀用于引用 WSDL 中的命名空间 http://www.w3.org/2001/XMLSchema (XML 模式命名空间)(很可能类似于 xsixsxsd)。

然后将该行更改为

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

xs 是您的命名空间前缀。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文