O'Reilly logo

GateIn Cookbook by Piergiorgio Lucidi, Luca Stancapiano, Ken Finnigan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Retrieving a managed resource with RESTful Interface

In this recipe, we will retrieve the managed resource for the portal sitemap using RESTful services within a browser.

Getting ready

The following is required for this recipe:

  • GateIn-3.2.0.Final

How to do it...

To retrieve the sitemap managed resource:

  1. Start the server.
  2. Open a browser and go to http://localhost:8080/rest/private/managed-components?format=xml

    Note

    http://localhost:8080/rest/private/managed-components is equivalent to http://localhost:8080/rest/private/managed-components?op=read-resource

  3. The browser will display a page that looks similar to the following screenshot:
    How to do it...
  4. Navigate to the URL ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required