File: soap.io

package info (click to toggle)
libsoap-lite-perl 0.712-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,740 kB
  • ctags: 831
  • sloc: perl: 10,860; xml: 90; makefile: 23; cs: 16
file content (38 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!perl -w
#!d:\perl\bin\perl.exe 

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

use SOAP::Transport::IO;

SOAP::Transport::IO::Server

  # you may specify as parameters for new():
  # -> new( in => 'in_file_name' [, out => 'out_file_name'] )
  # -> new( in => IN_HANDLE      [, out => OUT_HANDLE] )
  # -> new( in => *IN_HANDLE     [, out => *OUT_HANDLE] )
  # -> new( in => \*IN_HANDLE    [, out => \*OUT_HANDLE] )

  # -- OR --
  # any combinations
  # -> new( in => *STDIN, out => 'out_file_name' )
  # -> new( in => 'in_file_name', => \*OUT_HANDLE )

  # -- OR --
  # use in() and/or out() methods
  # -> in( *STDIN ) -> out( *STDOUT )

  # -- OR --
  # use default (when nothing specified):
  #      in => *STDIN, out => *STDOUT

  # don't forget, if you want to accept parameters from command line
  # \*HANDLER will be understood literally, so this syntax won't work 
  # and server will complain

  -> new(@ARGV)

  # specify path to My/Examples.pm here
  -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method') 
  -> handle
;