on 04-28-2014 1:28 PM
I have been working with Appbuilder since 2 months ,Earlier I was able to make connections between appbuilder and SMP cloud SP02v.
But recentlly on retreving th e connection profile ,I am getting Error Message as:
Failed to connect to SMP Onboarding Service. The error message is:
{}
Earlier whenever I got connection issues the braces were not empty but now the error comes with empty braces.
If anyone could help me .what could be the reason behind the connection failure.
hi
I am able to connect now but getting this message after successful connection
Failed to get Service metadata.
any idea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ,
I am finally able to make a breakthrough , Simple solution as of now : Use SAFARI browser , in case of any error also it will showcase you exact error and you will be able to debug the same , while in case of CHROME it was just empty.
Attaching the screenshot the same thing works fine with Appbuilder running in safari while not running fine in chrome.
Chrome Screenshot
So i seems some issues with CHROME latest version , haven't tried with previous version of chrome , will check that also .
i think you may be right regarding chrome browser. but i am unable to apply the fix that you described , can you please elaborate the same with a few screenshot if possible .
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Somil,
Sure thing, what I found out was that deep in the code an error is raising due to the definition for objects createAttributeNS and setAttributeNodeNS was missing:
This due to an update in Chrome browser as I could read.
Anyway, what I did was taking the definition for this objects and adding it to the codefile that was generating the errors (datajs-1.1.0.min.js).
In this way, when the file loads again, definitions are no longer missing, and the code is able to run again:
Hope this helps
Regards!
Edgar.
Hello lliona,
Sorry for the delay, sure, if you already have the code for the missing objects, go to the folder in which you have your app builder installed (in my case it is E:\APPBUILDER\newAppBuilder\appbuilder-1.0.1249) and browse through the folders to: lib\onyx\util. Once you are there, open the file named datajs-1.1.0.min.js and add the code for the missing object definitions. Save the file, open your app builder and try connecting again.
You can see if the sources were updated successfuly by using the Javascript Console tool in Chrome ( top right of the screen (icon with three bars) > tools > javascript console and then Sources.
I hope this helps!
Regards!
Edgar.
Hello Aditi,
If you are using Google Chrome to test the App builder, it seems that there have been some libraries that have been removed from Chrome's DOM API in a recent update, and that may be causing this issue:
https://code.google.com/p/chromium/issues/detail?id=347506
To solve it, I added code with the definition of createAttributeNS and setAttributeNodeNS from here:
https://gist.github.com/arv/9529994
To file datajs-1.1.0.min.js placed inside appbuilder-1.0.1249\lib\onyx\util folder.
Hope this helps!
Regards!
Edgar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi amrita,
i helped my colleague to solve the same issue as you met
here is what we did
configure the smp profile in appbuilder as followed
profile name:smp
server url:http://<host>:8080
application id: com.lawrence.flight (the application id you created)
security config: flight (the security setting which you created in smp which used the http authorization)
Uncheck allow anonymous login
Username: p160381
password: *******
hope it could fix your issue
enjoy smp 3.0
best regards
lawrence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ,
Did Anyone got solution to it ?
As i am also facing the same issue, tried with anonymous login as well but still no luck.
I was able to register an application connection though using postman and also able to see services using the same .
But when i use app builder it gives me the same error as stated above .
After when i trigger retrieve the Onbaording get's failed giving no error, while in command prompt i am getting this message.
please have a look and suggest as what can be possible error,
tried over different network as well but no luck yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you check smp server logs? Meanwhile, can you check with creating a connection profile and on board it. Does it get connected?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jitendra,
I hav established the connection ,created an app consuming the Odata service.
Need help on Deployment of Appbuilder application on SMP server
Please if you can let me know how to deploy the the app
I have created cordova application it shows sucess 100%
Deploy on SMP server 100% but it is not getting launch on simulator .
Please let me know the steps for deployment.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.