1SOAP::WSDL::DeserializeUrs:e:rHaCsohn(t3r)ibuted Perl DoScOuAmPe:n:tWaStDiLo:n:Deserializer::Hash(3)
2
3
4

NAME

6       SOAP::WSDL::Deserializer::Hash - Deserializer SOAP messages into perl
7       hash refs
8

SYNOPSIS

10        use SOAP::WSDL;
11        use SOAP::WSDL::Deserializer::Hash;
12

DESCRIPTION

14       Deserializer for creating perl hash refs as result of a SOAP call.
15
16   Output structure
17       The XML structure is converted into a perl data structure consisting of
18       hash and or list references. List references are used for holding array
19       data.
20
21       SOAP::WSDL::Deserializer::Hash creates list references always at the
22       maximum depth possible.
23
24       Examples:
25
26        XML:
27        <MyDataArray>
28           <MyData>1</MyData>
29           <MyData>1</MyData>
30        </MyDataArray>
31
32        Perl:
33        {
34            MyDataArray => {
35                MyData => [ 1, 1 ]
36            }
37        }
38
39        XML:
40        <DeepArray>
41           <MyData><int>1<int>/MyData>
42           <MyData><int>1<int>/MyData>
43        </DeepArray>
44
45        Perl:
46        {
47            MyDataArray => {
48                MyData => [
49                   { int => 1 },
50                   { int => 1 }
51                ]
52            }
53        }
54
55       List reference creation is triggered by the second occurrence of an
56       element.  XML Array types with one element only will not be represented
57       as list references.
58

USAGE

60       All you need to do is to use SOAP::WSDL::Deserializer::Hash.
61
62       SOAP::WSDL::Deserializer::Hash autoregisters itself for SOAP1.1
63       messages
64
65       You may register SOAP::WSDLDeserializer::Hash for other SOAP Versions
66       by calling
67
68        SOAP::Factory::Deserializer->register('1.2',
69           SOAP::WSDL::Deserializer::Hash)
70

Limitations

72       ·   Namespaces
73
74           All namespaces are ignored.
75
76       ·   XML attributes
77
78           All XML attributes are ignored.
79
80   Differences from other SOAP::WSDL::Deserializer classes
81       ·   generate_fault
82
83           SOAP::WSDL::Deserializer::Hash will die with a SOAP::WSDL::Fault11
84           object when a parse error appears
85

METHODS

87   deserialize
88       Deserializes the message.
89
90   generate_fault
91       Generates a SOAP::WSDL::SOAP::Typelib::Fault11 object and returns it.
92
94       Copyright 2004-2008 Martin Kutter.
95
96       This file is part of SOAP-WSDL. You may distribute/modify it under the
97       same terms as perl itself.
98

AUTHOR

100       Martin Kutter <martin.kutter fen-net.de>
101

REPOSITORY INFORMATION

103        $Rev: 851 $
104        $LastChangedBy: kutterma $
105        $Id: Hash.pm 851 2009-05-15 22:45:18Z kutterma $
106        $HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Deserializer/Hash.pm $
107
108
109
110perl v5.30.0                      2019-07-26 SOAP::WSDL::Deserializer::Hash(3)
Impressum