WebServices

From GNUstepWiki

Revision as of 11:39, 25 June 2011; view current revision
←Older revision | Newer revision→
This article or section is a stub (i.e., in need of additional material).
You can help us by expanding it


Framework for a GNUstep program to interact with web services

Current Version: 0.5.2

  • Released: Jun 20, 2010
  • Licensed: LGPL

Overview

The WebServer library contains a collection of classes to be used for creating client and server 'web service' applications. it is also useful for general XML work as the API that that is particularly simple and efficient.

The GWSService class is used to make RPCs as a client. This class makes use of GWSCoder classes to serialize the request before sending it to the remote system, and to deserialize the response received.

Different GWSCoder sublasses handle different encoding mechanisms, and this library provides one for XMLRPC (because it's a nice, simple mechanism good for most normal applicatiions), and one for SOAP (because, while it's a horrible, bloated, designed-by-comittee mechanism, it's also the most common one by far and the standard one for web services).

The GWSCoder base class provides support for decoding an XML document to a tree of GWSElement objects, and encoding a tree of GWSElement objects to form an XML document.

The GWSElement class represents an element in an XML document and provides a concise set of methods for locating and manipulating the elements within a tree representing the entire document.

The remaining classes in the library provide support for WSDL, allowing a WSDL document to be parsed, and SOAP calls to be made to a service described in the WSDL, with binding information from the WSDL used to build the calls from a minimal set of parameters.

Features

  • Easy/simple ObjectiveC API for parsing/generating XML documents, XMLRPC and SOAP remote procedure call support, WSDL support, GNUstep and OSX

Maintainer

Richard Frith-Macdonald

Related Links