cgl.narada.wsinfra.wse
Interface WseRequestCreator

All Known Implementing Classes:
WseRequestCreatorImpl

public interface WseRequestCreator

This is a utility class which is used to create requests based on the specified parameters. The requests created by this utility class include

  • Subscribe
  • GetStatus
  • Renew
  • Unsubscribe


    Method Summary
     EnvelopeDocument createGetStatus(EndpointReferenceType subscriptionManagerEpr, EndpointReferenceType sinkEpr, GetStatusDocument getStatusDocument)
              Create the SOAP envelope with the specified getStatus request.
     EnvelopeDocument createRenew(EndpointReferenceType subscriptionManagerEpr, EndpointReferenceType sinkEpr, RenewDocument renewDocument)
              Create the SOAP envelope with the specified renew request.
     EnvelopeDocument createSubscribe(EndpointReferenceType sourceEpr, EndpointReferenceType sinkEpr, SubscribeDocument subscribeDocument)
              Create the SOAP envelope with the specified subscribe request.
     EnvelopeDocument createUnsubscribe(EndpointReferenceType subscriptionManagerEpr, EndpointReferenceType sinkEpr)
              Create the SOAP envelope with the specified getStatus request.
     

    Method Detail

    createSubscribe

    EnvelopeDocument createSubscribe(EndpointReferenceType sourceEpr,
                                     EndpointReferenceType sinkEpr,
                                     SubscribeDocument subscribeDocument)
                                     throws ProcessingException
    Create the SOAP envelope with the specified subscribe request. This envelope's destination is the Sink which generated the original request message.

    Throws:
    ProcessingException

    createRenew

    EnvelopeDocument createRenew(EndpointReferenceType subscriptionManagerEpr,
                                 EndpointReferenceType sinkEpr,
                                 RenewDocument renewDocument)
                                 throws ProcessingException
    Create the SOAP envelope with the specified renew request. This envelope's destination is the sink which originated the message.

    Throws:
    ProcessingException

    createGetStatus

    EnvelopeDocument createGetStatus(EndpointReferenceType subscriptionManagerEpr,
                                     EndpointReferenceType sinkEpr,
                                     GetStatusDocument getStatusDocument)
                                     throws ProcessingException
    Create the SOAP envelope with the specified getStatus request. This envelope's destination is the sink which originated the message.

    Throws:
    ProcessingException

    createUnsubscribe

    EnvelopeDocument createUnsubscribe(EndpointReferenceType subscriptionManagerEpr,
                                       EndpointReferenceType sinkEpr)
                                       throws ProcessingException
    Create the SOAP envelope with the specified getStatus request. This envelope's destination is the sink which originated the message.

    Throws:
    ProcessingException


    For comments and suggestions please send e-mail to The NaradaBrokering Project
    d e-mail to The NaradaBrokering Project
    HTML>