1SOAP::Client(3) User Contributed Perl Documentation SOAP::Client(3)
2
3
4
6 SOAP::Client - exists purely as a superclass for client classes
7 declared by the various SOAP::Lite transport modules.
8
10 The SOAP::Client class exists purely as a superclass for client classes
11 declared by the various SOAP::Lite transport modules. The methods it
12 provides are all simple accessors; they return the current value when
13 called with no arguments or set the attribute value and return the
14 object reference when called with an argument. These attributes
15 include:
16
18 code, message, status
19 Stores the response code, message, and status from the most-recent
20 send attempt. For some protocols, such as FTP, the same value is
21 used for all three because of the lack of finer-grained detail (the
22 default is to ensure that all three attributes contain data, even
23 if redundant). Other protocols (such as HTTP) have distinct values
24 in each.
25
26 endpoint
27 Identifies the current endpoint to which messages are being sent.
28 This should match the value of the transport method from the
29 SOAP::Transport class, but setting this doesn't propagate to the
30 transport object. It is better to use the transport object (or the
31 shortcut via the SOAP::Lite object itself) when setting this.
32
33 is_success
34 The success or failure of the most-recent transmission is noted
35 here as a boolean value.
36
37 options
38 The options attribute keeps a hash-table reference of additional
39 options and their values. At present, only one option is used by
40 any of the transport modules:
41
42 compress_threshold
43 The value of this option should be a numerical value. If set,
44 and if the Compress::Zlib library is available, messages whose
45 size in bytes exceeds this value will be compressed before
46 sending. Both ends of the conversation must have it enabled.
47
48 Other options may be defined using this mechanism. Note that
49 setting the options using this accessor requires a full hash
50 reference be passed. To set just one or a few values, consider
51 retrieving the current reference value and using it to set the
52 key(s).
53
55 SOAP::Server
56
58 Special thanks to O'Reilly publishing which has graciously allowed
59 SOAP::Lite to republish and redistribute large excerpts from
60 Programming Web Services with Perl, mainly the SOAP::Lite reference
61 found in Appendix B.
62
64 Copyright (C) 2000-2004 Paul Kulchenko. All rights reserved.
65
66 This library is free software; you can redistribute it and/or modify it
67 under the same terms as Perl itself.
68
70 Paul Kulchenko (paulclinger@yahoo.com)
71
72 Randy J. Ray (rjray@blackperl.com)
73
74 Byrne Reese (byrne@majordojo.com)
75
76
77
78perl v5.32.0 2020-07-28 SOAP::Client(3)