找不到元素'n4:Envelope'的声明

时间:2015-09-17 20:31:12

标签: xml xsd xml-validation xml-error

我不确定如何解决此错误:no declaration found for element 'n4:Envelope'。我需要更好地理解xml模式以及如何声明它们。

它在谈论什么声明?

任何人都可以提供帮助吗?

这是xml文件的开头:

<?xml version="1.0"?>
<n4:Envelope xmlns:http="http://schemas.xmlsoap.org/wsdl/" 
xmlns:n="http://www.informatica.com/wsdl/" 
xmlns:n4="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:n5="http://schemas.xmlsoap.org/wsdl/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.informatica.com/wsdl/ Untitled1.xsd">
   <n4:Body>

这是xsd文件的开头:

<?xml version="1.0"?>
 <xsd:schema targetNamespace="http://www.informatica.com/wsdl/" 
 elementFormDefault="qualified" 
 attributeFormDefault="unqualified" 
 xmlns="http://www.informatica.com/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/http/"/>
         <xsd:element name="SHA003Bis_GetArticleDataResponse"
                      type="SHA003Bis_GetArticleDataResponseType"/>
         <xsd:element name="SHA003Bis_GetArticleDataRequest"
                      type="SHA003Bis_GetArticleDataRequestType"/>
         <xsd:complexType name="SHA003Bis_GetArticleDataRequestType">
            <xsd:sequence>

0 个答案:

没有答案
相关问题