I have a problem with a xsd which was given to me by a third party for their api. The message i get is: Cannot find the declaration of element 'Message'
Here is the first few lines of my request:
<?xml version="1.0" encoding="UTF-8"?>
<Message xmlns="http://www.surescripts.com/messaging" version="010" release="006" xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://aabrahams.staging.skycareehr.com/surescripts.xsd">
<Header>
--- more ---
And here is the beginning of the xsd:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://www.surescripts.com/messaging" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.surescripts.com/messaging" elementFormDefault="qualified">
<xs:element name="Message" type="MessageType"/>
<xs:complexType name="MessageType">
<xs:sequence>
<xs:element name="Header" type="HeaderType"/>
<xs:element name="Body" type="BodyType"/>
</xs:sequence>
--- More ---
Any suggestions?