on 01-19-2012 8:42 AM
Hi everybody,
I am about to parse the metadata and the service document of an REST-WebService via Odata.
Therefore I am using the SDMParser and the sdmParseODataSchemaXML(metaDataXML,ServiceDoc) but I getting the following error:
Entity set refers to an unknown entity Type!
So this means that the service doc xml does not match the metadata?
What can I do now?
Is the format of that service document in the form of SAP-OData format ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good question...
the service doc starts like this:
<?xml version="1.0" encoding="utf-8"?><app:service xml:base="http://xxxx.xxxxx.xxxx.de.xxxx.xxxx.com:8002/sap/opu/sdata/sap/ZUAM_REQUESTS/" xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sap="http://www.sap.com/Protocols/SAPData" xmlns:gp="http://www.sap.com/Protocols/SAPData/GenericPlayer" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><app:workspace m:IsDefaultEntityContainer="true" sap:semantics="things"><atom:title>Things</atom:title></app:workspace>
and the metadata doc starts like this:
<?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:gp="http://www.sap.com/Protocols/SAPData/GenericPlayer" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData"><edmx:DataServices m:DataServiceVersion="2.0"><Schema Namespace="ZUAM_REQUESTS" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
or how can I prove this?
Hi Stefan,
This is sample Sdata Service doc which is supported by SUP 2.1
<?xml version="1.0" encoding="utf-8"?><app:service xml:base="http://lxxxx.xxx.xxxx.xx:50080/sap/opu/sdata/iwfnd/RMTSAMPLEFLIGHT/" xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sap="http://www.sap.com/Protocols/SAPData" xmlns:gp="http://www.sap.com/Protocols/SAPData/GenericPlayer"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:ux="http://www.sap.com/Protocols/OData4SAP/UX">
xmlns:ux="http://www.sap.com/Protocols/OData4SAP/UX this wht i see is missing ,
But I'm not sure if this has anything to do with your Sdata format support.
Regards,
Rajashree
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.