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 the set_strict method:
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. πŸ“


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