Ek was weer knutselen BDC ADF lêers met die hand (sodat ek kan opbou my "kry uit my grasperk!" Ek) en hierdie pragtige fout getref:
"Application definition import failed. Die volgende fout het voorgekom:"
Soos jy kan sien, daar is 'n fout, maar … dit gaan nie om my te vertel wat dit is.
In my geval, the issue turned out that I had started off with a functional ADF for a different project that connected to a database and executed a SQL query against a view. In this new project, I am calling a method on a web service. I had stripped out the DB specific stuff and added my web service stuff, maar versuim het om die werk <LobSystem>’s Type attribute. I switched it to "WebService" en ek gelukkig verskuif na nuwer en meer opwindend invoer foute, wat gehanteer is met verloop van tyd.
Hier is die verkeerde LobSystem:
<LobSystem
xmlns:XSi =http://www.w3.org/2001/XMLSchema-instance
XSi:schemaLocation =http://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="Database"
Version="1.0.0.0" Name="xyzzy"
xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
Dit is korrek:
<LobSystem
xmlns:XSi =http://www.w3.org/2001/XMLSchema-instance
XSi:schemaLocation =http://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="WebService"
Version="1.0.0.0" Name="xyzzy"
xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
</einde>