WSDisc...:Hello(3pm)

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

πŸ’– 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: πŸ‘€

  • EndpointReference is a WSDiscovery10::Types::EndpointReferenceType hash, and inside it you've got:
    • Address β€” a hash with a value key holding $some_value.
    • ReferenceProperties β€” a WSDiscovery10::Types::ReferencePropertiesType hash (it's just vibing there empty in the example, and that's fine).
    • ReferenceParameters β€” a WSDiscovery10::Types::ReferenceParametersType hash (same deal).
    • PortType β€” another hash with a value key.
    • ServiceName β€” you guessed it, hash with a value key.
  • Types β€” $some_value, typed as QNameListType.
  • Scopes β€” a hash with a value key.
  • XAddrs β€” $some_value, typed as UriListType.
  • MetadataVersion β€” $some_value, typed as unsignedInt.
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