TIP SoapClientPlugin is not installed on Foswiki.org.

SoapClientPlugin

This plugin will provide a Foswiki Topic interface to SOAP::Lite calls.

It will cause the rendering of the topic to be as slow as the internet request - so its probably best to do on a local machine only.

Syntax Rules

  • the service parameter specifies the WSDL interface
  • call is the Soap method with parameters (will need to add quotes soon)
  • format like SEARCH
    • $list_element assumes the answer is an array of strings
    • and $struct(name) assumes the answer is a struct (with member variable of name)

Examples

Examples using the G-Forge Soap Interface - http://gforge.org/soap/index.php
  • %SOAP{service="http://gforge.org/soap/index.php" call="getPublicProjectNames()" format=" * Group: $list_element $n"}%
%SOAP{service="http://gforge.org/soap/index.php" call="getPublicProjectNames()" format=" * Group: $list_element $n"}%

unfortuanatly, GForge has discontinued or moved this SOAP endpoint - if you find a simple reliable example please tell me

SoapClientPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Provides a Foswiki Topic interface to SOAP::Lite calls

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where Foswiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • install SOAP::Lite from CPAN
  • Unzip SoapClientPlugin.zip in your foswiki installation directory. Content: File:Description:data/System/SoapClientPlugin.txt Plugin topic data/System/SoapClientPlugin.txt,v Plugin topic repository lib/Foswiki/Plugins/SoapClientPlugin.pm Plugin Perl module
  • use the configure script to enable

Plugin Info

Plugin Author: Foswiki:Main/SvenDowideit - wikiringlogo20x20.png http://www.wikiring.com
Plugin Version: Feb 2009 (V1.200)
Change History:  
20 Feb 2009 : port to Foswiki
24 July 2006: fix docco to reflect the changed example (GForge changed the wsdl), tested on TWiki4.0
19 Sep 2003: Initial version
CPAN Dependencies: SOAP::Lite (and its dependancies)
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://foswiki.org/Extensions/SoapClientPlugin

Related Topics: DefaultPreferences, SitePreferences, Plugins

-- Foswiki:Main/SvenDowideit
I Attachment Action Size Date Who Comment
SoapClientPlugin.md5md5 SoapClientPlugin.md5 manage 171 bytes 20 Feb 2009 - 08:23 SvenDowideit  
SoapClientPlugin.tgztgz SoapClientPlugin.tgz manage 6 K 20 Feb 2009 - 08:23 SvenDowideit  
SoapClientPlugin.zipzip SoapClientPlugin.zip manage 8 K 20 Feb 2009 - 08:23 SvenDowideit  
SoapClientPlugin_installerEXT SoapClientPlugin_installer manage 4 K 20 Feb 2009 - 08:23 SvenDowideit  
wikiringlogo20x20.pngpng wikiringlogo20x20.png manage 1 K 20 Feb 2009 - 08:22 SvenDowideit  
Topic revision: r3 - 09 Dec 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy