On Thu, Mar 11, 2010 at 11:15 AM, Zoran Jeremic <jeremic1...@yahoo.com> wrote: > I have tried to use > http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojo/dojo.xd.js instead of > local dojo toolkit, and now firebug does not gives any error message, but > nothing after this line > > var smd=new > dojo.rpc.JsonService("http://ZoranPC:8080/CreateLearningGoalsService?smd"); > > is not executed. However, if I call > http://ZoranPC:8080/CreateLearningGoalsService?smd from Web browser > directly, I got the following: > > {"SMDVersion":".1","objectName":"CreateLearningGoalsService","serviceType":"JSON-RPC","serviceURL":"http://zoranpc:8080/CreateLearningGoalsService","methods":[{"name":"getAvailableCompetences","parameters":[{"name":"param0","type":"STRING"}]}]} > > As I understand this means that this Web service is OK, and it has a method > that I want to access, but somehow dojo can't access it. > > Zoran
Please take a look at the response I just sent to your original question, it seems that you might be hitting a cross-domain JavaScript issue. BTW, i have a version of your app that is retrieving the competences in [1] [1] http://people.apache.org/~lresende/tuscany/intelleo-lpc-webapp.tar.gz -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/