Scroll to navigation

WSNotification::Interfaces::WSBaseNotificationSender::NotificationProducerPort(3pm) User Contributed Perl Documentation WSNotification::Interfaces::WSBaseNotificationSender::NotificationProducerPort(3pm)

NAME

WSNotification::Interfaces::WSBaseNotificationSender::NotificationProducerPort - SOAP Interface for the WSBaseNotificationSender Web Service

SYNOPSIS

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

DESCRIPTION

SOAP Interface for the WSBaseNotificationSender web service located at http://docs.oasis-open.org/wsn/bw-2.

SERVICE WSBaseNotificationSender

Port NotificationProducerPort

METHODS

General methods

new

Constructor.

All arguments are forwarded to SOAP::WSDL::Client.

SOAP Service methods

Method synopsis is displayed with hash refs as parameters.

The commented class names in the method's parameters denote that objects of the corresponding class can be passed instead of the marked hash ref.

You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure.

List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position.

XML attributes are not displayed in this synopsis and cannot be set using hash refs. See the respective class' documentation for additional information.

Subscribe

Returns a WSNotification::Elements::SubscribeResponse object.

 $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 =>  {
    },
  },,
 );

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

2022-05-14 perl v5.32.1