I was once again crafting BDC ADF files by hand (so that I can build up my "get off my lawn!" cred) and hit this lovely error:
"Application definition import failed. Следеће грешке:"
Као што можете видети, there’s an error, али … it’s not going to tell me what it is.
У мом случају, 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, but failed to update the <ЛобСистем>’s Type attribute. I switched it to "WebService" and I happily moved on to newer and more exciting import errors, which were handled in due course.
Here is the wrong LobSystem:
<ЛобСистем
КСМЛнс:xsi=хттп://ввв.в3.орг/2001/КСМЛСцхема-инстанце
кси:schemaLocation=хттп://сцхемас.мицрософт.цом/оффице/2006/03/БусинессДатаЦаталогBDCMetadata.xsd
Type="Database"
Version="1.0.0.0" Name="xyzzy"
xmlns="хттп://сцхемас.мицрософт.цом/оффице/2006/03/БусинессДатаЦаталог">
This is correct:
<ЛобСистем
КСМЛнс:xsi=хттп://ввв.в3.орг/2001/КСМЛСцхема-инстанце
кси:schemaLocation=хттп://сцхемас.мицрософт.цом/оффице/2006/03/БусинессДатаЦаталогBDCMetadata.xsd
Type="WebService"
Version="1.0.0.0" Name="xyzzy"
xmlns="хттп://сцхемас.мицрософт.цом/оффице/2006/03/БусинессДатаЦаталог">
</крај>