Hi Aparna, there are two possibilities:
V1 - From the datajs page (https://datajs.codeplex.com/discussions/286064): (not tested from me) var metadata; OData.read("myservice.svc/$metadata", function (data) { metadata = data; }, function (err) { alert(JSON.stringify(err)); }, OData.metadataHandler); V2 - is from me to do some performance tests but this assumed that have already the metadata xml as string var context = {}; var response = { headers : { "Content-Type" : "application/xml"}, body : testDataXML }; OData.metadataHandler.read(response, context); var metadata = response.data; retgards, Sven -----Original Message----- From: Khare, Aparna [mailto:[email protected]] Sent: Freitag, 4. April 2014 07:53 To: [email protected] Cc: M Murthy, Thejaswi Subject: Edmx parsing with data.js Hello Team, Can you please help me on how to parse the metadata based on EDMTypes using data.js .I know we can Get the metadata using data.js but I could not find any library or API's which can used to parse the metadata Thanks in Advance, Aparna
