1SOAP::WSDL::DeserializeUrs:e:rSOCMo(n3t)ributed Perl DocSuOmAePn:t:aWtSiDoLn::Deserializer::SOM(3)
2
3
4

NAME

6       SOAP::WSDL::Deserializer::SOM - Deserializer SOAP messages into SOM
7       objects
8

SYNOPSIS

10        use SOAP::WSDL;
11        use SOAP::WSDL::Deserializer::SOM;
12        use SOAP::WSDL::Factory::Deserializer;
13        SOAP::WSDL::Factory::Deserializer->register( '1.1', __PACKAGE__ );
14

DESCRIPTION

16       Deserializer for creating SOAP::Lite's SOM object as result of a SOAP
17       call.
18
19       This package is here for two reasons:
20
21       ·   Compatibility
22
23           You don't have to change the rest of your SOAP::Lite based app when
24           switching to SOAP::WSDL, but can just use
25           SOAP::WSDL::Deserializer::SOM to get back the same objects as you
26           were used to.
27
28       ·   Completeness
29
30           SOAP::Lite covers much more of the SOAP specification than
31           SOAP::WSDL.
32
33           SOAP::WSDL::Deserializer::SOM can be used for content which cannot
34           be deserialized by SOAP::WSDL::Deserializer::SOAP11.  This may be
35           XML including mixed content, attachements and other XML data not
36           (yet) handled by SOAP::WSDL::Deserializer::SOAP11.
37
38       SOAP::WSDL::Deserializer::SOM is a subclass of SOAP::Deserializer from
39       the SOAP::Lite package.
40

METHODS

42   deserialize
43       Deserializes a XML sting into a SOAP::SOM object. Returns a SOAP::Fault
44       object on deserialization errors.
45
46   generate_fault
47       Dies with a SOAP::Fault object.
48

USAGE

50       SOAP::WSDL::Deserializer will not autoregister itself - to use it for a
51       particular SOAP version just use the following lines:
52
53        my $soap_version = '1.1'; # or '1.2', further versions may appear.
54
55        use SOAP::WSDL::Deserializer::SOM;
56        use SOAP::WSDL::Factory::Deserializer;
57        SOAP::WSDL::Factory::Deserializer->register( $soap_version, __PACKAGE__ );
58

DIFFERENCES FROM OTHER CLASSES

60   Differences from SOAP::Lite
61       ·   No on_fault handler
62
63           You cannot specify what to do when an error occurs - SOAP::WSDL
64           will return a SOAP::Fault object on transport errors.
65
66   Differences from other SOAP::WSDL::Deserializer classes
67       ·   generate_fault
68
69           SOAP::WSDL::Deserializer::SOM will die with a SOAP::Fault object on
70           calls to generate_fault.
71
72           This also means that a SOAP::Fault may be thrown as exception when
73           using
74
76       Copyright 2004-2007 Martin Kutter.
77
78       This file is part of SOAP-WSDL. You may distribute/modify it under the
79       same terms as perl itself.
80

AUTHOR

82       Martin Kutter <martin.kutter fen-net.de>
83

REPOSITORY INFORMATION

85        $Rev: 851 $
86        $LastChangedBy: kutterma $
87        $Id: SOM.pm 851 2009-05-15 22:45:18Z kutterma $
88        $HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Deserializer/SOM.pm $
89
90
91
92perl v5.32.0                      2020-07-28  SOAP::WSDL::Deserializer::SOM(3)
Impressum