Home | Recent Changes | Search | Log in
Back to Knowledge Base Index

With the emergence of Web Services standards like SOAP, more and more enterprise applications expose unified interfaces. If you intend to voice enable a web service, or need to create an application that draws from Web Services as data repositories this article should provide helpful advice

The overall picture

The current release of the Angel.com platform has a general capability to exchange information via HTTP or HTTPS. Transaction pages offer a very straightforward model based on the following pattern:

  1. Collect information from callers or the call environment through Question and Voicemail pages
  2. For static playback, use standard Site Builder-created Voice Pages
  3. Whenever dynamic or runtime information needs to be played, use a Transaction Page.
  4. Transaction pages POST or GET to a URL. At that URL, a program can collect the parameters passed, formulate a query or implement some logic.
  5. The program returns AngelXML back, which Angel.com interprets as a Voice Page. If the response is valid, the AngelXML is played back to the caller.

With a Web Service, a 'presentation' or 'glue' layer is necessary to translate Angel HTTP POSTs to SOAP requests, and SOAP responses to AngelXML documents. This is normally a very thin layer, similar to what would be necessary to graphically render information in a web page that called on a Web Service.

Coding the presentation layer

Platform considerations

Today most web platforms are well equiped with Web Services libraries. Some examples:

Rendering AngelXML should be simpler than generating HTML.

A typical pattern

When querying a web service, the following pattern is followed in the script:

Page Last Updated: May 10 1:43pm by L Novotny


Log in - Socialtext v3.0.1.4