WSDisc...:Hello(3pm)
π NAME π
WSDiscovery10::Elements::Hello β okay bestie so this is a Perl data type class for the XML Schema defined element Hello, and it comes from the namespace http://schemas.xmlsoap.org/ws/2005/04/discovery. Yeah. That's the whole vibe. It's the Perl-side glow-up of that one specific XML element, no cap. β¨
(Also, hi, you're in the 3pm manual, for User Contributed Perl Documentation. Slay.)
πΈ DESCRIPTION πΈ
Okay so picture this: there's an XML Schema element called Hello living in the namespace http://schemas.xmlsoap.org/ws/2005/04/discovery. This module is the Perl data type class for it. That's literally its whole job. It's giving "I have one purpose and I ate." π
If you're out here building or reading WS-Discovery stuff in Perl, this is the class that represents that element in a way Perl can actually hold in its hands. π«Ά
π METHODS π
β¨ new β¨
my $element = WSDiscovery10::Elements::Hello->new($data);
It's the constructor, bestie. You call new on the class, hand it some $data, and it hands you back your element. β¨
Now here's the tea β the data structure you can pass to new() looks exactly like this, and I mean exactly, so don't go freestyling the keys:
{ # WSDiscovery10::Types::HelloType
EndpointReference => { # WSDiscovery10::Types::EndpointReferenceType
Address => { value => $some_value },
ReferenceProperties => { # WSDiscovery10::Types::ReferencePropertiesType
},
ReferenceParameters => { # WSDiscovery10::Types::ReferenceParametersType
},
PortType => { value => $some_value },
ServiceName => { value => $some_value },
},
Types => $some_value, # QNameListType
Scopes => { value => $some_value },
XAddrs => $some_value, # UriListType
MetadataVersion => $some_value, # unsignedInt
},
A little tour of the group chat, since we're all here: π
EndpointReferenceis aWSDiscovery10::Types::EndpointReferenceTypehash, and inside it you've got:Addressβ a hash with avaluekey holding$some_value.ReferencePropertiesβ aWSDiscovery10::Types::ReferencePropertiesTypehash (it's just vibing there empty in the example, and that's fine).ReferenceParametersβ aWSDiscovery10::Types::ReferenceParametersTypehash (same deal).PortTypeβ another hash with avaluekey.ServiceNameβ you guessed it, hash with avaluekey.
Typesβ$some_value, typed asQNameListType.Scopesβ a hash with avaluekey.XAddrsβ$some_value, typed asUriListType.MetadataVersionβ$some_value, typed asunsignedInt.
Lowkey important: the whole thing is wrapped in a WSDiscovery10::Types::HelloType hash. That's the outer vibe check. π
π AUTHOR π
Generated by SOAP::WSDL. That's it. That's the author. The machine did it. Respect. π€π
okay and for the cute sign-off: this lil page lives in perl v5.40.1, dated 2026-02-01, and the manual is WSDisc...:Hello(3pm) β go forth and construct your elements, bestie π¦β¨π
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms