Voting: 
Vote up!
0 Votes
5 Replies
Answered

Processing the servicedoc failed with an exception

Question asked by Daniel García on Jun 17, 2017 06:40 EDT

Hi,   I've just created a simple Integration Service that works perfecly on the Integration Service Console. Now, when creating and app to connect to this service I get "Processing the ServiceDoc failed with an exception: {}" error on client initialization: Bellow my code for the initialization: client = new kony.sdk(); client.init( "my_app_key", "my_app_secret", "https://100011242.auth.konycloud.com/appconfig", successCallback, errorCallback ); Maybe the URL is wrong? (that's why I have left the value on the above code)   Thanks

Vote up!
0 votes
Vote down!

Now I undesrtand the URL is not the problem. Is the one associated to my account...

Replied by: Jun 17, 2017 06:56 EDT
Vote up!
0 votes
Vote down!

I had the same error. The problem was the associated mobile fabric environment. Check under project settings -> MobileFabric if the mobile fabric environment is the same as the one you publish the service.  

Replied by: Jun 19, 2017 02:58 EDT
Vote up!
0 votes
Vote down!

Hi Daniel,

One of the reason for this error is observed when you are not logged to a valid environment in the visualizer enterprise.When you are not logged in then the url and secureurl will be generated as null in the startup.js file. 


To resolve kindly point the application to a mobile fabric application and do a clean and build so that the url and secureurl will be not null.

Thanks.

Replied by: Jun 19, 2017 13:40 EDT
Gold
Vote up!
0 votes
Vote down!

Hi,

 

I am sucessfully logged in my account (see image 1 below).

It seems that it is a problem with my Visualizer Enterprise License (Se images 2 and 3 below).

 

BR

 

 

Replied by: Jun 20, 2017 05:13 EDT
Kony Answered Certificate
Vote up!
0 votes
Vote down!

Now it is working perfectly after importing my licenses files.

 

Thanks!

Answered by: Jun 20, 2017 05:56 EDT