Thanks Dan! Ik will check it out further. But I see that you use a relative path because angular is served on the same server. I got that working already. My problem is that I want a proof of concept with Angular running on other server and domain ... Did you succeed in making that connection?
� ----- Original Message ---- From: Dan Haywood To: users Sent: Vri, 22 Aug 2014 15:41 Subject: Re: Still problem connecting to RESTServices Hi Johan, sorry for the delay. I've put together a new github project at [1] that gets the above working. For me, at least... Should hopefully be easy enough to combine in your project, or start afresh. Cheers Dan NB: as I think I've mentioned in the past, the intention is to provide a simplified AngularJS service to the RO resources/representations. The spec/desgn is more or less there, see [2], but no implementation as of yet. One way forward might be to collaborate on providing such an implementation, perhaps? Note that that will be using TypeScript, rather than vanilla Javascript. [1] https://github.com/danhaywood/isis-angularjs-simpleapp [2] http://spirolibraries.github.io/Spiro.Angular/ On 20 August 2014 06:43, wrote: > I am deploying an test at cloudbees and put strategy to > AuthenticationSessionStrategyTrusted in web.xml > > No problem direct access through browser. But with Angular.JS I get > 'status: cancelled' in Chrome under network and no results. > > Any Idea? > > > > In app.js I use the following method. That one works fine for other > service... > > > function ISISwww($scope, $http) { > > $http({ > > method: "GET", > > url: ' > http://isisprutsapp.johandoornenbal.eu.cloudbees.net/restful/' > > }). > > success(function(isisdata) { > > $scope.isisdata = isisdata; > > }); > > }; > > > > > > �
