WSNoti...erPort(3pm)

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

✨ NAME ✨

WSNotification::Interfaces::WSBaseNotificationSender::NotificationProducerPort β€” bestie, it's the SOAP Interface for the WSBaseNotificationSender Web Service πŸ’…

(It's a Perl module page, so it hangs out in manual section 3pm β€” that's the "user contributed perl documentation" zone, iykyk.)


✨ SYNOPSIS ✨

use WSNotification::Interfaces::WSBaseNotificationSender::NotificationProducerPort;
my $interface = WSNotification::Interfaces::WSBaseNotificationSender::NotificationProducerPort->new();

my $response;
$response = $interface->Subscribe();
$response = $interface->GetCurrentMessage();

✨ DESCRIPTION ✨

Okay so this whole thing is a SOAP Interface for the WSBaseNotificationSender web service, and that service lives at:

http://docs.oasis-open.org/wsn/bw-2

That's it. That's the description. Short and iconic. πŸ‘‘


🌸 SERVICE: WSBaseNotificationSender 🌸

πŸ¦‹ Port: NotificationProducerPort


✨ METHODS ✨

πŸŽ€ General methods

new

Constructor, babes. ✨

Every single argument you pass gets forwarded straight to SOAP::WSDL::Client. No gatekeeping, no filtering, it just hands them over. 🫢


🌈 SOAP Service methods

Okay listen, the method synopses below show their parameters as hash refs. That's the format, that's the vibe.

Those commented-out class names inside the parameters? They mean you can pass an object of that corresponding class instead of the marked hash ref. Cute, right? πŸ’–

You can pass literally any combination of objects, hash refs and list refs into these methods β€” as long as you meet the structure. Structure is the moment, fr fr.

List items (aka things that occur multiple times) are not shown in the synopsis. Generally you may pass a list ref of hash refs (or objects) instead of a hash ref β€” but heads up, if you use that improperly it may result in invalid XML. 😭 And also: SOAP::WSDL always expects list references at maximum depth position. Periodt.

XML attributes are not displayed in this synopsis, and you cannot set them using hash refs. Go read the respective class' documentation for the extra tea. πŸ“–

Subscribe

Returns a WSNotification::Elements::SubscribeResponse object. Slay. πŸ’…

 $response = $interface->Subscribe( {
   ConsumerReference =>  { # WSNotification::Types::EndpointReferenceType
     Address =>  { value => $some_value },
     ReferenceParameters =>  { # WSNotification::Types::ReferenceParametersType
     },
     Metadata =>  { # WSNotification::Types::MetadataType
     },
   },
   Filter =>  { # WSNotification::Types::FilterType
     TopicExpression =>  { # WSNotification::Types::TopicExpressionType
     },
     MessageContent =>  { # WSNotification::Types::QueryExpressionType
     },
   },
   InitialTerminationTime => $some_value, # AbsoluteOrRelativeTimeType
   SubscriptionPolicy =>  {
   },
 },,
);

(Not me leaving that double comma exactly as it is πŸ’€ do not touch it, it's part of the lore.)


GetCurrentMessage

Returns a WSNotification::Elements::GetCurrentMessageResponse object. 🌟

 $response = $interface->GetCurrentMessage( {
   Topic =>  { # WSNotification::Types::TopicExpressionType
   },
 },,
);

✨ AUTHOR ✨

Generated by SOAP::WSDL on Fri Aug  8 16:49:21 2014

The machine wrote this one, we're just vibing with it. πŸ€–πŸ’–


And that's a wrap, bestie πŸŽ€ this page came out of the <b>User Contributed Perl Documentation</b> collection, running under <b>perl v5.40.1</b>, dated <b>2026-02-01</b>, filed under <b>WSNoti...erPort(3pm)</b>. Go forth and subscribe to things. βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from