我有一个定义如下的 WSDL。不确定定义有什么问题,但每次我尝试导入时,我都会收到错误
<definitions targetNamespace="myservices"
xmlns:nslt2="myxsdspace"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="urn:myservices"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
<types>
<schema elementFormDefault="unqualified"
targetNamespace="myservices" xmlns="http://www.w3.org/2001/XMLSchema"/>
<xsd:schema>
<xsd:import namespace="myxsdspace" schemaLocation="ApplicaitonForm_Latest.xsd"/>
</xsd:schema>
</types>
<message name="processRequest">
…………
我收到以下错误,但无法找到解决方案。
SOAP-ERROR: Parsing Schema: can't import schema from 'myxsd.xsd', unexpected 'targetNamespace'='myxsdspace
非常感谢您的帮助