WSDL类型"soapenc:string";无法解决 [英] WSDL type "soapenc:string" cannot be resolved

查看:632
本文介绍了WSDL类型"soapenc:string";无法解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将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模式名称空间)(最有可能与xsixsxsd类似).

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆