|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcgl.narada.wsinfra.wse.impl.WseResponseCreatorImpl
public class WseResponseCreatorImpl
This is a utility class which create various responses based on the specified parameters. This is typically used by the source and the subscriptionManager.
Method Summary | |
---|---|
EnvelopeDocument |
createGetStatusResponse(EndpointReferenceType sinkEpr,
EndpointReferenceType subscriptionManagerEpr,
RelatesToDocument relatesTo,
GetStatusResponseDocument getStatusResponseDocument)
Create the SOAP envelope with the specified getStatus response. |
EnvelopeDocument |
createRenewResponse(EndpointReferenceType sinkEpr,
EndpointReferenceType subscriptionManagerEpr,
RelatesToDocument relatesTo,
RenewResponseDocument renewResponseDocument)
Create the SOAP envelope with the specified renew response. |
EnvelopeDocument |
createRenewResponseToSource(EndpointReferenceType sourceEpr,
EndpointReferenceType subscriptionManagerEpr,
String subscriptionIdentifier,
RenewResponseDocument renewResponseDocument)
Create the SOAP envelope with the specified renew response. |
EnvelopeDocument |
createSubscribeResponse(EndpointReferenceType sinkEpr,
EndpointReferenceType sourceEpr,
RelatesToDocument relatesTo,
SubscribeResponseDocument subscribeResponseDocument)
Create the SOAP envelope with the specified subscribe response. |
EnvelopeDocument |
createSubscribeResponseToSM(EndpointReferenceType subscriptionManagerEpr,
EndpointReferenceType sourceEpr,
SubscribeDocument subscribeDocument,
SubscribeResponseDocument subResponseDocument)
Create the SOAP envelope with the specified subscribe response AND the subscribe original request. |
EnvelopeDocument |
createSubscriptionEnd(EndpointReferenceType destinationEpr,
EndpointReferenceType sourceEpr,
SubscriptionEndDocument subscriptionEndDocument)
Creates a SOAP envelope with the subscription end document |
EnvelopeDocument |
createUnsubscribeResponse(EndpointReferenceType sinkEpr,
EndpointReferenceType subscriptionManagerEpr,
RelatesToDocument relatesTo)
Create the SOAP envelope with the specified getStatus response. |
EnvelopeDocument |
createUnsubscribeResponseToSource(EndpointReferenceType sourceEpr,
EndpointReferenceType subscriptionMgrEpr,
String subscriptionIdentifier)
Create the SOAP envelope with the specified getStatus response. |
static WseResponseCreator |
getInstance()
|
RelatesToDocument |
getResponseRelatesTo(AddressingHeaders requestHeaders)
Initializes the relates to element appropriately, based on whether there is a messageID in the requestHeaders. |
EndpointReferenceType |
getSendResponseTo(AddressingHeaders requestHeaders,
EndpointReferenceType alternateEPR,
String requestType)
Try and the initialize the EPR to send a response message to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WseResponseCreator getInstance()
public EnvelopeDocument createSubscribeResponse(EndpointReferenceType sinkEpr, EndpointReferenceType sourceEpr, RelatesToDocument relatesTo, SubscribeResponseDocument subscribeResponseDocument) throws ProcessingException
createSubscribeResponse
in interface WseResponseCreator
ProcessingException
public EnvelopeDocument createSubscribeResponseToSM(EndpointReferenceType subscriptionManagerEpr, EndpointReferenceType sourceEpr, SubscribeDocument subscribeDocument, SubscribeResponseDocument subResponseDocument) throws ProcessingException
createSubscribeResponseToSM
in interface WseResponseCreator
ProcessingException
public EnvelopeDocument createRenewResponse(EndpointReferenceType sinkEpr, EndpointReferenceType subscriptionManagerEpr, RelatesToDocument relatesTo, RenewResponseDocument renewResponseDocument) throws ProcessingException
createRenewResponse
in interface WseResponseCreator
ProcessingException
public EnvelopeDocument createRenewResponseToSource(EndpointReferenceType sourceEpr, EndpointReferenceType subscriptionManagerEpr, String subscriptionIdentifier, RenewResponseDocument renewResponseDocument) throws ProcessingException
createRenewResponseToSource
in interface WseResponseCreator
ProcessingException
public EnvelopeDocument createGetStatusResponse(EndpointReferenceType sinkEpr, EndpointReferenceType subscriptionManagerEpr, RelatesToDocument relatesTo, GetStatusResponseDocument getStatusResponseDocument) throws ProcessingException
createGetStatusResponse
in interface WseResponseCreator
ProcessingException
public EnvelopeDocument createUnsubscribeResponse(EndpointReferenceType sinkEpr, EndpointReferenceType subscriptionManagerEpr, RelatesToDocument relatesTo) throws ProcessingException
createUnsubscribeResponse
in interface WseResponseCreator
ProcessingException
public EnvelopeDocument createUnsubscribeResponseToSource(EndpointReferenceType sourceEpr, EndpointReferenceType subscriptionMgrEpr, String subscriptionIdentifier) throws ProcessingException
createUnsubscribeResponseToSource
in interface WseResponseCreator
ProcessingException
public EnvelopeDocument createSubscriptionEnd(EndpointReferenceType destinationEpr, EndpointReferenceType sourceEpr, SubscriptionEndDocument subscriptionEndDocument) throws ProcessingException
createSubscriptionEnd
in interface WseResponseCreator
ProcessingException
public EndpointReferenceType getSendResponseTo(AddressingHeaders requestHeaders, EndpointReferenceType alternateEPR, String requestType) throws ProcessingException
getSendResponseTo
in interface WseResponseCreator
ProcessingException
public RelatesToDocument getResponseRelatesTo(AddressingHeaders requestHeaders)
getResponseRelatesTo
in interface WseResponseCreator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |