View on
MetaCPAN
川合 孝典 > Xpriori-XMS-0.03 > Xpriori::XMS::Soap

Download:
Xpriori-XMS-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Xpriori::XMS::Soap - SOAP wrapper for Xpriori::XMS::Svc.

SYNOPSIS ^

  #>> Sample for SOAP (Server)
    #!c:/perl/bin/perl
    use strict;
    use Xpriori::XMS::Soap;
    use SOAP::Transport::HTTP;
      SOAP::Transport::HTTP::CGI   
      -> dispatch_to('Xpriori::XMS::Soap')     
      -> handle;

  #>> Sample for SOAP (Client)
      use strict;
      use SOAP::Lite qw(trace);
      my $oSoap = SOAP::Lite
          -> uri('Xpriori::XMS/Soap')
          -> proxy('http://localhost/cgi-bin/neo/NeoCoreSvcPerl.pl');
      
      my $sConn =  $oSoap->login()->result;
      print "CONN:$sConn\n";
      print $oSoap->queryXML('', '/ND//books')->result;
      print $oSoap->logout($sConn)->result;

DESCRIPTION ^

Xpriori::XMS::Soap is a wrapper of Xpriori::XMS::Svc for SOAP.

URL, User and Password should be set in 'NeoCoreSvc.cfg' included in the same directory. See Xpriori::XMS::Svc for methods and more detail.

SEE ALSO ^

Xpriori::XMS::HTTP

AUTHOR ^

KAWAI,Takanori kwitknr@cpan.org

COPYRIGHT ^

The Xpriori::XMS::Http module is Copyright (c) 2009 KAWAI,Takanori, Japan. All rights reserved.

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.

syntax highlighting: