no declaration found for element 'n4:Envelope'

若如初见. 提交于 2019-12-24 14:10:52

问题


I am not sure how to solve this error: no declaration found for element 'n4:Envelope'. I need to get a better understanding of xml schemas and how they are declared.

What declaration is it talking about?

Anyone can help on this?

This is the start of xml file:

<?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>

This is the start of xsd file:

<?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>

来源:https://stackoverflow.com/questions/32639448/no-declaration-found-for-element-n4envelope

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!