OCLC Developer Network

Building Applications which Write Data

Currently, there are two methods which developers can use to build applications which perform write operations via OCLC's web services.

  • Proxying entire application
  • Proxying web service interactions only

Proxying the Entire Application

This method of constructing applications involves writing two components:

  1. Server side code that performs all the functions of the application and generates a valid HTML page
    1. contains WSKeys, tokens, principalIDs and principalIDNS
  2. Gadget XML that proxies the web application into the desired container

Developers should protect the proxy by checking the Referrer for the URL of the OpenSocial container.

Proxying web service interactions only

This method of constructing applications also involves two components

  1. Gadget XML that performs the majority of the functions of the applications and generates the user interface
  2. Server side code proxies requests of the web services
    1.  contains WSKeys, tokens, principalIDs and principalIDNS

Developers should protect the proxy by checking the Referrer for the URL of the OpenSocial container and for the opensocial_proxied_content parameter. This parameter should be present and set to 1.

Groups:

Follow the OCLC Developer Network:

The OCLC Developer Network supports the use of OCLC Web Services—a set of tools and APIs that expose data and services for WorldCat and our member libraries and partner institutions or companies. learn more »

© 2010 OCLC Domestic and international trademarks and/or service marks of OCLC Online Computer Library Center, Inc. and its affiliates


Powered by Drupal, an open source content management system