WSDisc...aultTo(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– WSDiscovery10::Elements::FaultTo πŸ’–

okay bestie so this is a page from the User Contributed Perl Documentation manual, section 3pm β€” that's the 3 for library functions, pm for Perl module. And the star of the show today? WSDiscovery10::Elements::FaultTo ✨ she's the whole moment, no cap.


πŸŽ€ NAME πŸŽ€

WSDiscovery10::Elements::FaultTo β€” that's her, that's the girl πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this is a Perl data type class for the XML Schema defined element FaultTo from the namespace http://schemas.xmlsoap.org/ws/2004/08/addressing.

That's it. That's the vibe. It's a class that exists so FaultTo can be a Perl thing. She's giving ✨dedicated, single-purpose, knows her lane✨ and honestly? obsessed.


🌸 METHODS 🌸

πŸ’œ new

my $element = WSDiscovery10::Elements::FaultTo->new($data);

Constructor energy. She builds you a fresh element, main character that she is. 🫢

Here's the data structure that may be passed to new() β€” read it carefully, bestie, it's nested and it's giving tree 🌳:

{ # WSDiscovery10::Types::EndpointReferenceType
  Address =>  { value => $some_value },
  ReferenceProperties =>  { # WSDiscovery10::Types::ReferencePropertiesType
  },
  ReferenceParameters =>  { # WSDiscovery10::Types::ReferenceParametersType
  },
  PortType =>  { value => $some_value },
  ServiceName =>  { value => $some_value },
},

See how Address, PortType and ServiceName each take a { value => $some_value } hashref, while ReferenceProperties and ReferenceParameters are just... sitting there, empty, ready for whatever you bring them 😌. Iconic structure. Respect it.

heads up: that's may be passed β€” the docs say may, so don't come for me if you hand her something unhinged. Also the whole thing is one big hashref { ... } with a trailing comma, so mind your syntax. perl will not be gentle. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL

not me reading this and going "so literally nobody hand-wrote it, the machines did it" 😭 slay though, generated code is still code, periodt.

okay and for the cute sign-off: this beauty lives under perl v5.40.1 and her docs are dated 2026-02-01. go forth and FaultTo responsibly, bestie πŸŒˆπŸ’–βœ¨

πŸ“¦ where this page comes from