WSDisc...Matches(3pm)

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

πŸ’– WSDisc...Matches β€” the perl manual page, but make it a group chat πŸ’–

okay bestie, so this is a User Contributed Perl Documentation page, and it lives in section 3pm (that's the perl module section, iykyk). The module it's about is WSDiscovery10::Elements::ResolveMatches. Pull up a chair, we're doing XML Schema stuff and honestly? It's kinda iconic. ✨


🌸 NAME 🌸

WSDiscovery10::Elements::ResolveMatches β€” no cap, that's the whole name.


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically this is a Perl data type class for the XML Schema defined element ResolveMatches, and it comes from the namespace:

http://schemas.xmlsoap.org/ws/2005/04/discovery

That's it, that's the vibe. It's a data type class. It represents that element. Periodt. πŸ’…


✨ METHODS ✨

πŸŽ€ new

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

Constructor! The main character. 🫢 You hand it $data and it becomes a whole element, slay.

Here's the data structure you can pass to new() β€” and bestie, I need you to look at this nesting, it's giving very much matryoshka doll energy 😭:

{ # WSDiscovery10::Types::ResolveMatchesType
  ResolveMatch =>  { # WSDiscovery10::Types::ResolveMatchType
    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
  },
},

Let me walk you through it because there are levels to this:

  • The top-level hash is a WSDiscovery10::Types::ResolveMatchesType.
  • Inside it lives ResolveMatch, which is a WSDiscovery10::Types::ResolveMatchType. 🌈
  • Inside that lives EndpointReference, a WSDiscovery10::Types::EndpointReferenceType, and it holds:
    • Address β€” a hash with a value key, so { value => $some_value }.
    • ReferenceProperties β€” a WSDiscovery10::Types::ReferencePropertiesType (empty hash, she's got nothing going on and that's okay πŸ’€).
    • ReferenceParameters β€” a WSDiscovery10::Types::ReferenceParametersType (also just vibing as an empty hash).
    • PortType β€” again { value => $some_value }.
    • ServiceName β€” again { value => $some_value }.
  • Back up at the ResolveMatch level we've also got:
    • Types => $some_value β€” comment says it's a QNameListType.
    • Scopes β€” { value => $some_value }.
    • XAddrs => $some_value β€” comment says UriListType.
    • MetadataVersion => $some_value β€” comment says unsignedInt.
no invented extras here bestie, that's literally the whole structure, every field, exactly as written. Don't @ me. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's the author line, fr fr β€” the machine did it, and she ate. πŸ’…


and that's the page!! 🌟 quick sign-off because the footer has the receipts: this was rendered by perl v5.40.1 and dated 2026-02-01. love that for us. go forth and construct your ResolveMatches, bestie πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from