[Glass] REST routing questions

BrunoBB via Glass glass at lists.gemtalksystems.com
Thu Aug 27 17:55:08 PDT 2015


Hi,

I have a REST package working fine:
WARestfulHandler
   WAOrbeonPersistenceApiService

Now that all routes and services are working OK, i want to connect the
services to "real" classes.

To do this i create another class:
WARestfulHandler
   WAOrbeonPersistenceLayer

Where the PATH of the services (of WAOrbeonPersistenceLayer) are the same as
WAOrbeonPersistenceApiService but the implementation of the service use
"real classes".

To avoid PATH clash:
WAAdmin unregister: 'gemstone-orbeon-api'. "app:
WAOrbeonPersistenceApiService "
WAAdmin register: WAOrbeonPersistenceLayer asApplicationAt:
'orbeon-gemstone-api'.

But now when a service is called (with the same path) i get a 501 error.

Is possible that a path clash could be happening ?
Does #unregister: remove the instances of WAOrbeonPersistenceApiService ?

Regards,
Bruno





--
View this message in context: http://forum.world.st/REST-routing-questions-tp4846463.html
Sent from the GLASS mailing list archive at Nabble.com.


More information about the Glass mailing list