Difference between revisions of "SOAP"

From Ethersex_Wiki
Jump to: navigation, search
Line 10: Line 10:
 
|CODE=[https://github.com/ethersex/ethersex/tree/master/protocols/soap https://github.com/ethersex/ethersex/tree/master/protocols/soap]
 
|CODE=[https://github.com/ethersex/ethersex/tree/master/protocols/soap https://github.com/ethersex/ethersex/tree/master/protocols/soap]
 
}}
 
}}
 +
 +
Ethersex supports the SOAP protocol over HTTP, which allows for easier communication of Ethersex with programs of any kind. The functions can be used directly in the program code with SOAP.
  
 
== Configuration ==
 
== Configuration ==
 +
 +
First, the protocol needs to be enabled, and then the support for it in the embedded web server.
 +
 +
  | |    Protocols  --->                                                  | |
 +
  ...
 +
  | |        [*] SOAP (XML RPC)                                          | |
 +
 
 +
 
 +
  | |    Applications  --->                                              | |
 +
  ...
 +
  | |        [*] HTTP Server  --->                                        | |   
 +
  ...
 +
  | |            [*] SOAP backend                                        | |
 +
 
 +
 +
== Client Code ==
 +
 +
The following script can be used as a starting point for your own SOAP requests.
 +
 +
* [https://github.com/ethersex/ethersex-tools/blob/master/prot/onewire/onewire_request.php Perl]
  
 
== Links ==
 
== Links ==

Revision as of 19:52, 4 May 2014

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

Ethersex supports the SOAP protocol over HTTP, which allows for easier communication of Ethersex with programs of any kind. The functions can be used directly in the program code with SOAP.

Configuration

First, the protocol needs to be enabled, and then the support for it in the embedded web server.

 | |     Protocols  --->                                                  | |
 ...
 | |         [*] SOAP (XML RPC)                                           | |
 
 
 | |     Applications  --->                                               | |
 ...
 | |         [*] HTTP Server  --->                                        | |    
 ...
 | |             [*] SOAP backend                                         | |
  

Client Code

The following script can be used as a starting point for your own SOAP requests.

Links

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

Quick Start with SOAP