Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ServiceHandler with RAP 2.3
ServiceHandler with RAP 2.3 [message #1403709] Fri, 25 July 2014 13:15 Go to next message
Julia Kurde is currently offline Julia KurdeFriend
Messages: 69
Registered: November 2011
Location: Berlin, Germany
Member
Hi,

In my RAP there is a ServiceHandler registered via extensionPoint for file downloading.

It worked fine in RAP 2.2 and Eclipse Kepler but after updating to RAP 2.3 and Eclipse Luna the service() method of the handler is just not called anymore! As a consequence the browser shows a 404 Error.

I also tryed registering the handler dynamically using the ServiceManager and opening the URL either with UrlLauncher or IWorkbenchBrowserSupport, but in all cases the service() method is not called (The id of the handler in the URL is correct, of cause!).


Is there anything known about that?

Thanks for your help!
Julia
Re: ServiceHandler with RAP 2.3 [message #1403711 is a reply to message #1403709] Fri, 25 July 2014 13:36 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1959
Registered: July 2009
Senior Member
Hi Julia,
in RAP 2.3 we changed the URL returned by
ServiceManager#getServiceHandlerUrl to be relative (without context and
servlet path). This works fine in case of working session cookies, but
has some problems with session rewrites (jsessionid in URL). See this bug:
437211: getServiceHandlerURL() missing entrypoint-path without cookie
suport (regression due to Bug#406428)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=437211
Please check if this is your problem too.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: ServiceHandler with RAP 2.3 [message #1403720 is a reply to message #1403711] Fri, 25 July 2014 14:28 Go to previous message
Julia Kurde is currently offline Julia KurdeFriend
Messages: 69
Registered: November 2011
Location: Berlin, Germany
Member
That was exactly the problem! Thanks!
Previous Topic:How to detect Time Zone(city) and correctly show individual local time?
Next Topic:There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+
Goto Forum:
  


Current Time: Tue May 26 08:02:36 GMT 2015

Powered by FUDForum. Page generated in 0.01969 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software