SOAP

From Ethersex_Wiki
Revision as of 15:56, 2 May 2014 by GooPie4o (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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