A nice, simple and effective SOAP client in less than 100 lines of PHP code, for simple RPC-style, non-WSDL SOAP actions. It does not parse/munge/process the SOAP response in any way.

A call is as simple as this:

<?php
$client
= new NanoSOAPClient('http://opensearch.addi.dk/1.1/');
$response = $client->call('getObjectRequest', array(
 
'identifier' => '710100:27246478',
 
'objectFormat' => 'dkabm',
));
?>

This was made out of frustration with the available PHP SOAP, mainly because they are slow and munge the data returned with strange assumptions on how I want my XML parsed.

Dependcies

Both are included with most PHP distributions, so likely you will not need to install them manually.

For use with Drupal 6, the Autoload module can be helpful. Otherwise you would have to load the the class manually. This can be accomplished by running

<?php
module_load_include
('inc', 'nanosoap');
?>

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0 tar.gz (9.53 KB) | zip (10.53 KB) 2012-Mar-07 Notes
6.x-1.0 tar.gz (9.54 KB) | zip (10.54 KB) 2012-Mar-07 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (9.54 KB) | zip (10.53 KB) 2012-Mar-08 Notes
6.x-1.x-dev tar.gz (9.55 KB) | zip (10.54 KB) 2012-Mar-08 Notes

Project Information


Maintainers for NanoSOAP

  • mikl - 19 commits
    last: 11 weeks ago, first: 1 year ago
  • googletorp - 2 commits
    last: 40 weeks ago, first: 45 weeks ago
  • kasperg - 2 commits
    last: 1 year ago, first: 1 year ago

Issues for NanoSOAP

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports