Invalid Message Schema - AIF

Hello All,

Version - AX 2012 R3

I am trying to create a web service using File system adapter for a custom table named StudentDetails having Id and Name as two fields.

Following are my XSD and XML file code

XSD

<?xml version="1.0" encoding="utf-16"?>

<xs:schema xmlns:tns="schemas.microsoft.com/…/StudentDetailsQuery" xmlns:st="schemas.microsoft.com/…/sharedtypes" elementFormDefault=“qualified” targetNamespace="schemas.microsoft.com/…/StudentDetailsQuery" xmlns:xs="www.w3.org/…/XMLSchema">
<xs:import schemaLocation=“SharedTypes.xsd” namespace="schemas.microsoft.com/…/sharedtypes" />
<xs:element name=“StudentDetailsQuery” type=“tns:AxdStudentDetailsQuery” />
<xs:complexType name=“AxdStudentDetailsQuery”>
xs:sequence
<xs:element minOccurs=“0” maxOccurs=“unbounded” name=“studentdetails” type=“tns:AxdEntity_studentdetails” />
</xs:sequence>
</xs:complexType>
<xs:complexType name=“AxdEntity_studentdetails”>
xs:sequence
<xs:element minOccurs=“1” name=“Id” type=“st:AxdUnion_AxdType_Str_AxdType_ExtCodeValue” />
<xs:element minOccurs=“1” name=“Name” type=“st:AxdUnion_AxdType_Str_AxdType_ExtCodeValue” />
</xs:sequence>
<xs:attribute fixed=“entity” name=“class” use=“required” />
<xs:attribute name=“action” type=“st:AxdEnum_AxdEntityAction” />
</xs:complexType>
</xs:schema>

XML

<?xml version="1.0" encoding="utf-8" ?>

{b44ea387-b9e2-43fb-a045-077cd5e946ed} [schemas.microsoft.com/.../Action>](http://schemas.microsoft.com/dynamics/2008/01/services/StudentDetailsQueryService/create) ](http://schemas.microsoft.com/dynamics/2008/01/documents/Message) ](http://schemas.microsoft.com/dynamics/2008/01/documents/StudentDetailsQuery) Id1 Name1

When the batch is processing, i am receiving the error of Invalid Message Schema in the log.

Can anyone help me where am i making mistake.