- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi All
I am a newbie and have managed to bring in my Web Service but when I click on the TryIt button XDK crashes. The "Intel XDK encountered a problem and must restart" popup appears. I also receive a "Uncaught SyntaxError: Unexpected token ;("") I am not sure why it is crashing any ideas will be greatly appreciated.
Many Thanks
Webservice methed is getCols
apiconfig.json
{ "AmplaData": { "name": "Ampla Data", "description": "Ampla Data API", "dashboardUrl": "http://xx.xx.xx.180/WSJSON/webservice1.asmx", "compatibleProjectTypes": [ "com.intel.xdk.projecttype.jsapp", "com.intel.xdk.projecttype.webapp", "com.intel.xdk.projecttype.iotapp" ] } }
AmplaData.js File
/*globals window, console, $*/ /*jshint -W068 */ (function () { var exports = {}; /* Data Feed Function */ exports.getCols = function (params) { var url = 'http://xx.xx.xx.180/WSJSON/webservice1.asmx/getCols'; return $.ajax({url: url}); }; return exports; });// jshint ignore:line
AmplaData.json File
{ "endpoints": [ { "name": "AmplaData", "dashboardUrl": "http://xx.xx.xx.180/WSJSON/webservice1.asmx", "methods": [ { "MethodName": "getCols", "Synopsis": "Grabs information from the DB" } ] } ] }
- Tags:
- HTML5
- Intel® XDK
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I'll alert the appropriate engineer.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi,
Sorry that error message isn't too helpful. The first thing I would try is renaming the files to AmplaData.json and AmplaData.js. Essentially, the key value in the apiconfig.json file should match the name of the files. Can you post what happens after that change?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi
Thanks for the response, it was a typo from my end the files are AmplaData.js and AmplaData.json.
Thanks again for the help.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi
Just to confirm the typo was on the post not in the project, it is still crashing XDK. I am also getting alot of XDK crashes with Ver3900 when I drag items onto a page the same error pops up and restarts XDK.
Cheers
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
We are working on a hotfix to address a variety of problems, including several of the crash issues.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Paul
Thanks for the update.
Cheers
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Paul
Any idea when it will be released?
Cheers
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Sorry, not allowed to announce expected release dates, company policy. All I can say is we want to get it out there ASAP, so we're primarily targeting the most irritating issues, especially the ongoing login problem and several frequent crash issues.

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite