问题
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