Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

This sample demonstrates the WSO2 Application Server's ability to generate code for a WSDL 2.0 description and its ability to invoke a real world application RESTfully. The WSDL  WSDL describes the REST API of Flickr via HTTPBinding  of WSDL 2.0. The Client provided in the sample uses a stub that is dynamically generated by the Application Server.

...

  1. To contibue you need to provide an API key obtained from Flickr. The API key will be used for subsequent invocations of the Flickr API. If you do not have have an API key, you can apply for one from http://www.flickr.com/services/api/keys/apply
  2. The application can be configured using the configure menu using the following properties:
    • Host - Can be used to change the host address, the requests are sent to (Useful if you want to track the wire messages. e.g., tcp monitor).
    • Port - Can be used to change the port, the requests are sent to (Useful if you want to track the wire messages. e.g., tcp monitor).
    • API KEY - Used to change the API KEY provided.
    • Secret - Used to change the shared secret provided.

  3. Each main tab in the application corresponds to a category of methods specified in the Flickr API.
    For example, the people tab corresponds to the people category while the PhotoSetsComments tab corresponds to the photosets.comments category.
  4. Each sub tab in the application, corresponds to a single method specified in the Flickr API under the main category. For example, the FindByEmail tab corresponds to the flickr.people.findByEmail method defined under the people category; while the PhotoSetsComments tab corresponds to the photosets.comments category.

Flickr Authorization

Many methods on Flickr require the user to be logged in. When such a method is accessed, the application shows a dialog box stating that authorization is required to proceed.

...