Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3560

Error while getting data for SmartTable

$
0
0

Hi,

I am trying to use a Smart Table and using an XS oData service. The SmartTable works fine when i use a regular oData service URL but when i change the URL to that of XS oData service, it fails and gives an error saying "Invalid metadata document". Below is the error screenshot and the metadata XML.

I used online tool to check the validity of the XML document and it seems to be okay. Please let me know what the error could be.

 

--Manoj

 

Invalid Metadata Document.PNG

 

<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" Version="1.0">

<edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="2.0">

<Schema xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://schemas.microsoft.com/ado/2007/05/edm" Namespace="tab">

<EntityType Name="XDA_YDA_UMType">

<Key>

<PropertyRef Name="TABLE_KEY"/>

<PropertyRef Name="TRANSACTION_ID"/>

<PropertyRef Name="TIMESTAMP_LOAD"/>

</Key>

<Property Name="TABLE_KEY" Type="Edm.Int64" Nullable="false"/>

<Property Name="BATCH_ID" Type="Edm.String" MaxLength="16"/>

<Property Name="TRANSACTION_ID" Type="Edm.String" MaxLength="50"/>

<Property Name="EXTERNAL_ID" Type="Edm.String" MaxLength="40"/>

<Property Name="TRANSACTION_AMOUNT" Type="Edm.Decimal" Precision="34"/>

<Property Name="TRANSACTION_CURRENCY" Type="Edm.String" MaxLength="5"/>

<Property Name="ENTITY" Type="Edm.String" MaxLength="10"/>

<Property Name="STATUS_CHANGE_DATE" Type="Edm.DateTime"/>

<Property Name="EXCEPTION_FLAG" Type="Edm.String" MaxLength="2"/>

<Property Name="INSTRUMENT_TYPE" Type="Edm.String" MaxLength="20"/>

<Property Name="INSTRUMENT_SUBTYPE" Type="Edm.String" MaxLength="1"/>

<Property Name="MATCH_TOOL" Type="Edm.String" MaxLength="1"/>

<Property Name="USER_NOTES" Type="Edm.String" MaxLength="256"/>

<Property Name="SHARED_ID" Type="Edm.Int32"/>

<Property Name="ACCOUNT_NUMBER" Type="Edm.Int32"/>

<Property Name="TIMESTAMP_LOAD" Type="Edm.DateTime" Nullable="false"/>

</EntityType>

<EntityContainer Name="OD_PDA_UM" m:IsDefaultEntityContainer="true">

<EntitySet Name="XDA_YDA_UM" EntityType="tab.XDA_YDA_UMType"/>

</EntityContainer>

</Schema>

</edmx:DataServices>

</edmx:Edmx>


Viewing all articles
Browse latest Browse all 3560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>