SOAP::...er::XSD(3pm)
π SOAP::WSDL::Deserializer::XSD π
okay bestie, welcome to the manual page for SOAP::WSDL::Deserializer::XSD β a lil module from the SOAP-WSDL crew, and yeah it's a Perl one. she's giving "quietly carrying the whole operation on her back" and honestly? she ate. π
β¨ NAME β¨
SOAP::WSDL::Deserializer::XSD β the deserializer that turns SOAP messages into SOAP::WSDL::XSD::Typelib:: objects. no cap. π¦
πΈ DESCRIPTION πΈ
so this is the default deserializer for SOAP::WSDL::Client and for all the interface classes that SOAP::WSDL generates for you. its whole job is converting SOAP messages into objects that are based on SOAP::WSDL::XSD::Typlib:: (yes, that's spelled exactly like that, i am NOT touching it, the original said it, we respect the original π«Ά).
she does need a class_resolver typemap β either one that got passed in by the generated interface, or one that you provided yourself. no typemap, no vibes. that's just how it is.
also, all the SOAP::WSDL::Deserializer classes implement the API described over in SOAP::WSDL::Factory::Deserializer β that's the blueprint, she's just following it. periodt. π
π USAGE π
fr fr, most of the time you do nothing. she's already the default deserializer for SOAP::WSDL::Client and for interface classes generated by SOAP::WSDL β she just shows up, clocked in, ready. main character energy, zero effort required from you. iconic. π
but if you do wanna use the XSD serializer from SOAP::WSDL, then you gotta:
- set the
outputtree()property - and provide a
class_resolver
that's the whole to-do list. two items. you got this bestie. π
π₯ OPTIONS π₯
strictβ turns strict XML processing on or off. strict processing is enabled by default, so if you want it off you either pass this to the constructor or use theset_strictmethod:
strict => 0
lowkey important: default is ON. don't be surprised when she's strict with you. π
π METHODS π
deserialize
Deserializes the message. that's it, that's the whole summary. she takes the message and deserializes it. slay. β¨
generate_fault
Generates a SOAP::WSDL::SOAP::Typelib::Fault11 object and returns it. so when something goes wrong, she hands you a fault object instead of just screaming. very mature of her honestly. π
set_strict
Enable/disable strict XML parsing. Default is enabled. same energy as the strict option up above β she just also has a method for it, because why not. π
π LICENSE AND COPYRIGHT π
Copyright 2004-2007 Martin Kutter.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself. (perl itself!! the classic deal. we love a permissive queen. π§)
π AUTHOR π
Martin Kutter <martin.kutter fen-net.de>
β REPOSITORY INFORMATION β
$Rev: 851 $
$LastChangedBy: kutterma $
$Id: XSD.pm 851 2009-05-15 22:45:18Z kutterma $
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Deserializer/XSD.pm $
like, actual svn keywords, not me being cute. keeping them exactly as they were, character for character, because that's the rule and i don't break rules. π«Ά
and that's the whole page bestie!! π this was perl v5.36.0, dated 2022-10-14, and you just read SOAP::...er::XSD(3pm) (the terminal truncates her name, she's not mad about it). go forth and deserialize. mwah. π
β¨
π¦ where this page comes from
- ubuntu noble: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsoap-wsdl-perl 3.004-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms