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


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

<xs:schema xmlns:tns="…/StudentDetailsQuery" xmlns:st="…/sharedtypes" elementFormDefault=“qualified” targetNamespace="…/StudentDetailsQuery" xmlns:xs="…/XMLSchema">
<xs:import schemaLocation=“SharedTypes.xsd” namespace="…/sharedtypes" />
<xs:element name=“StudentDetailsQuery” type=“tns:AxdStudentDetailsQuery” />
<xs:complexType name=“AxdStudentDetailsQuery”>
<xs:element minOccurs=“0” maxOccurs=“unbounded” name=“studentdetails” type=“tns:AxdEntity_studentdetails” />
<xs:complexType name=“AxdEntity_studentdetails”>
<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:attribute fixed=“entity” name=“class” use=“required” />
<xs:attribute name=“action” type=“st:AxdEnum_AxdEntityAction” />


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

{b44ea387-b9e2-43fb-a045-077cd5e946ed} [>]( ]( ]( 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.