java - How to setup root url for Restlet -


at root of restlet web service, this:

http://localhost:8080/foobarwebservice/

my page blank...

i suspect when user/programmer wants find out resources available on webservice , how should accessed e.g. url format , parameters pass. should here - rest form of wsdl think??? called wadl

what do? there way of auto generating root resource based on resources publishing? don't think having blank page right. making sense anyone???? :)

please bear me it's been on year since looked @ stuff.

restlet doesn't enforce conventions, general rest principles, , http spec.

so if want have resource @ url, , make representation of resource available, that's cool, it's you. need implement , wire other resource @ other url.

that said, restlet include wadl extension can automatically generate wadl representation of application , make available clients representation of resource — typically "base resource" of app, typically using options method, believe that's customizable. note wrote "automatically", extension relies on subclassing classes when implementing app, such wadlapplication, , implementing methods, such getapplicationinfo(). that's pretty easy however.

there's introduction wadl extension here.

personally, author wadl document hand, , make available using filerepresentation. make available in html, using xslt transform wadl html. that's me, though.

hth!


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -