WSNoti...erPort(3pm)
β¨ 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
- 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