Difference between revisions of "SOAP"

From Ethersex_Wiki
Jump to: navigation, search
(Created page with "{{i18n|SOAP}} {{Module |NAME=SOAP |MENUCONFIG={{Protocols}}->SOAP (XML RPC) |STATUS={{stable}} |PINNING=no |ECMD=no |DEPENDS= |REQUIRES= |CODE=[https://github.com/ethersex/eth...")
(No difference)

Revision as of 14:56, 2 May 2014

SOAP
Status
Stable
menuconfig Protocols->SOAP (XML RPC)
Pinning no
Ecmd no
Code https://github.com/ethersex/ethersex/tree/master/protocols/soap

Usage

#!/usr/bin/perl -w

use strict;
use SOAP::Lite;

my $soap = SOAP::Lite
    -> uri('http://ethersex.de/SOAP')
    -> proxy('http://192.168.22.130/soap');

my $whm = $soap->whm();

print "Aktuelle Uptime des Ethersex: ", $whm, "\n";

my $time = $soap->time();

print "Aktuelle Systemzeit (Unix-Timestamp): ", $time, "\n";


Links

CPAN SOAP::Lite - Perl's Web Services Toolkit

Quick Start with SOAP