Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.875.478 Times

ASNMTAP::Asnmtap::Plugins::SOAP 3.000.010

  Date Added: August 11, 2010  |  Visits: 874

ASNMTAP::Asnmtap::Plugins::SOAP

Report Broken Link
Printer Friendly Version


Product Homepage
Download (77 downloads)



ASNMTAP::Asnmtap::Plugins::SOAP is a Perl module that provides SOAP functions used by ASNMTAP-based plugins. SYNOPSIS use ASNMTAP::Asnmtap::Plugins v3.000.010; use ASNMTAP::Asnmtap::Plugins qw(:PLUGINS); my $objectPlugins = ASNMTAP::Asnmtap::Plugins->new ( _programName => check_template-SOAP.pl, _programDescription => "SOAP::LITE plugin template for testing the $APPLICATION with Performance Data", _programVersion => 3.000.010, _programGetOptions => [proxy:s, trendline|T:i], _timeout => 30, _debug => 0); use ASNMTAP::Asnmtap::Plugins::SOAP qw(≥t_soap_request); use SOAP::Lite; my $proxy = http://services.soaplite.com/hibye.cgi; my $namespace = http://www.soaplite.com/Demo; my $methodName = hi; my $method = SOAP::Data->name($methodName)->attr( {xmlns => $namespace} ); my %soapService_Register_NS = ( http://schemas.xmlsoap.org/wsdl/mime/ => mime, http://www.w3.org/2001/XMLSchema => s ); my $xmlContent; my $params; my ($returnCode, $xml) = get_soap_request ( asnmtapInherited => $objectPlugins, proxy => $proxy, namespace => $namespace, method => $method, registerNamespace => %soapService_Register_NS, xmlContent => $xmlContent, params => $params, cookies => 1, perfdataLabel => SOAP ); unless ( $returnCode ) { if (defined $xml) { ... } else { ... } } $objectPlugins->exit (7); SOAP::Lite for Perl is a collection of Perl modules which provides a simple and lightweight interface to the Simple Object Access Protocol (SOAP, also known as Service Oriented Access Protocol) both on client and server side. get_soap_request() SOAP is a simple XML-based protocol to let applications exchange information over HTTP. More information regarding SOAP can be find at URI: http://www.w3schools.com/soap/ Returns a status for $returnCode (OK..UNKNOWN) and when the status is OK for $xml the extracted XML if exists, otherwise undef. asnmtapInherited A required reference to an ASNMTAP::Asnmtap::Plugins or ASNMTAP::Asnmtap::Plugins::Nagios subclass Through this way of working we inherited the command line option --debug. custom optional, is an reference to your own custom defined function $som: the SOM object provides a simple API for accessing any aspect of the responses SOAP envelope, a result object from SOAP::Lite. sub actionOnSoapResponse { my ($asnmtapInherited, $som) = @_; return ($returnCode); } and now with customArguments: sub actionOnSoapResponse { my ($asnmtapInherited, $som, $arguments) = @_; return ($returnCode); } customArguments optional, when you need to pass parameters to your own custom defined function, this can be done with customArguments. customArguments: SCALAR, ARRAY, HASH, REF SCALAR, REF ARRAY, REF HASH proxy This lets you specify an endpoint (service address) and also loads the required module at the same time. proxy: http://services.soaplite.com/hibye.cgi a required scalar. namespace Sets the URI that will be used as the namespace for the resulting XML entity. namespace: http://www.soaplite.com/Demo a required scalar. registerNamespace The register_ns subroutine allows users to register a global namespace with the SOAP Envelope. registerNamespace: %soapService_Register_NS = ( http://schemas.xmlsoap.org/wsdl/mime/ => mime, http://www.w3.org/2001/XMLSchema => s ); a required hash. method The name is what the serializer will use for the tag when generating the XML for this object. method: SOAP::Data->name(hi)->attr( {xmlns => http://www.soaplite.com/Demo} ); a required SOAP::Data->name definition.

Requirements: No special requirements
Platforms: Linux
Keyword: Asnmtap Asnmtapasnmtappluginssoap Libraries Module Namespace Perl Perl Module Provides Ref Required Soap Used Used By Xml
Users rating: 0/10

License: Freeware Size: 1.6 MB
USER REVIEWS
More Reviews or Write Review


ASNMTAP::ASNMTAP::PLUGINS::SOAP RELATED
Libraries  -  Wx::Perl::Packager 0.07
Wx::Perl::Packager provides a module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl A module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl2Exe. All that is needed...
12.29 KB  
Libraries  -  Drupal::Module::Starter 0.06
Drupal::Module::Starter is a Perl module to create Drupal Module starter files. SYNOPSIS You probably dont want to use this module directly - you want to use the drupal-module-starter script in the scripts directory of the distribution use...
14.34 KB  
Libraries  -  Crypt::SSLeay 0.51
Crypt::SSLeay is a Perl module for OpenSSL glue that provides LWP https support. SYNOPSIS lwp-request https://www.nodeworks.com use LWP::UserAgent; my $ua = new LWP::UserAgent; my $req = new HTTP::Request(GET, https://www.nodeworks.com);...
 
Libraries  -  Getopt::EvaP 2.3.5
Getopt::EvaP is a Perl module to evaluate Perl command line parameters. SYNOPSIS use vars qw/@PDT @MM %OPT/; use Getopt::EvaP; EvaP @PDT, @MM, %OPT; EXPORT use Getopt::EvaP exports the subs EvaP and EvaP_PAC into your name space. @PDT...
52.22 KB  
Libraries  -  RDFStore::Parser::SiRPAC 0.50
RDFStore::Parser::SiRPAC is a Perl module that implements a streaming RDF Parser as a direct implementation of XML::Parser::Expat. SYNOPSIS use RDFStore::Parser::SiRPAC; use RDFStore::NodeFactory; my $p=new RDFStore::Parser::SiRPAC(...
481.28 KB  
Libraries  -  Doc::Perlish 0.14
Doc::Perlish is a Perl module that contains Perl Documentation Tools. SYNOPSIS my $doc = Doc::Perlish->new( type => "POD", input => "source.pod" ); # simple conversions; my $html = $doc->to_html; # DOM-style interface; see...
56.32 KB  
Libraries  -  OzDB 0.02
OzDB is a database Perl interface module for OzBot. SYNOPSIS use OzDB; The OzDB Perl module handles authentication and access control for the OzBot based utility bots. The basic database format is the authentication schema. This is based on...
12.29 KB  
Libraries  -  XML::PatAct::ToObjects 0.08
XML::PatAct::ToObjects is an action module for creating Perl objects. SYNOPSIS use XML::PatAct::ToObjects; my $patterns = [ PATTERN => [ OPTIONS ], PATTERN => "PERL-CODE", ... ]; my $matcher = XML::PatAct::ToObjects->new( Patterns =>...
31.74 KB  
Libraries  -  Language::Functional 0.03
Language::Functional is a Perl module which makes Perl slightly more functional. SYNOPSIS use Language::Functional :all; print The first ten primes are: , show(take(10, filter { prime(shift) } integers)), "n"; Perl already contains some...
16.38 KB  
Libraries  -  XML::Filter::Sort::BufferMgr 1.01
XML::Filter::Sort::BufferMgr is a Perl implementation class used by XML::Filter::Sort. The documentation is targetted at developers wishing to extend or replace this class. For user documentation, see XML::Filter::Sort. Two classes are used to...
25.6 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB