I am running Worklight 4.2 on Lion
The training module 6.0 Engadget Reader works correctly for me as an application.
If I try to run the RSSReader adapter via the Invoke Worklight Procedure in Eclipse it fails with:
2012-03-23 10:18:49 Starting procedure invocation on Worklight Server
2012-03-23 10:18:49 Not deploying adapter 'RSSReader' since it was not changed since last deployment
2012-03-23 10:18:49 Invoking procedure: 'getFeeds' of adapter 'RSSReader'
2012-03-23 10:18:49 Server host: localhost
2012-03-23 10:18:49 Server port: 8080
2012-03-23 10:18:49] Parameters: [
It appears to be some sort of client side error.
This topic has been locked.
7 replies Latest Post - 2012-05-30T08:00:46Z by SystemAdmin
Pinned topic Procedure Invocation failed
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: Procedure Invocation failed2012-03-25T08:10:16Z in response to SystemAdminHi,
I have imported the module 6.0 project into Eclipse and invoked the getFeeds procedure. For me it returns data properly.
I notice that in your log it is mentioned that the adapter was not deployed because it has not changed since the last time - have you made any changes to it before that?
Re: Procedure Invocation failed2012-03-25T19:41:48Z in response to SystemAdminThanks for taking a look
Are you running on a Mac?
I repeated with a fresh deploy and got same result.
WOrks fine as an app, but not from the eclipse
2012-03-25 09:39:27 Sun Mar 25 09:39:27 HST 2012
2012-03-25 09:39:27 Starting procedure invocation on Worklight Server
2012-03-25 09:39:27 Deploying adapter: RSSReader
2012-03-25 09:39:27 Server host: localhost
2012-03-25 09:39:27 Server port: 8080
2012-03-25 09:39:28 Adapter deployed successfully
2012-03-25 09:39:28 Invoking procedure: 'getFeeds' of adapter 'RSSReader'
2012-03-25 09:39:28 Server host: localhost
2012-03-25 09:39:28 Server port: 8080
2012-03-25 09:39:28] Parameters: [
Re: Procedure Invocation failed2012-03-26T06:42:43Z in response to SystemAdminYep, I have tested this on both my Mac (OS X Lion 10.7.3) and PC (Windows 7) machines; in both I have imported a fresh copy of module_06_0_EngadgetReader, followed by a right-click on the RSSReader adapter folder and choosing Run As >> Invoke Worklight Procedure.
Tested using Worklight Server and Studio version 4.2.1.
Could you please try again by deleting the project from the Eclipse workspace and freshly import a new copy of the project from the solutions zip file?
Re: Procedure Invocation failed2012-03-26T18:01:29Z in response to SystemAdminI am on Worklight Studio 4.2.2...so maybe that is the issue
This is a minor inconvenience at the moment, so I will proceed and will see if anything comes out of further debugging.
Re: Procedure Invocation failed2012-03-26T19:49:34Z in response to SystemAdminI have the same issue with the 4.2.2 environment. I have tried reimporting and redeploying several times. I also tried the Engadget module from the 421 GettingStarted section.
Adapter is fine from within the app and direct thru a URL but the eclipse 'Invoke Procedure' test fails.
Re: Procedure Invocation failed2012-03-27T06:07:58Z in response to SystemAdminI have now also tested with Worklight Server and Studio v184.108.40.2063, and again, a fresh import of module 6's project and invoking the adapter passed and successfully retrieved data...
Could you please attach your copy of the module project?
Re: Procedure Invocation failed2012-05-30T08:00:46Z in response to SystemAdminI got exactly the same problem with all my adapters (ones I had written and ones imported from the tutorial projects).
I managed to fix it by switching Eclipse to NOT use its internal web browser (Window -> Web Browser -> Change from '0 Internal Web Browser' to '1 Default system web browser').
Try changing that and see if you can now run your adapter.