cgl.narada.wsinfra.wsr
Interface WsrResponseCreator

All Known Implementing Classes:
WsrResponseCreatorImpl

public interface WsrResponseCreator


Method Summary
 void addResponse(EnvelopeDocument envelopeDocument, ResponseDocument responseDocument)
          This method adds the response element to the same envelopes document in the header
 EnvelopeDocument getResponse(AddressingHeaders addressingHeaders, EndpointReferenceType wsrSinkEpr)
           
 EnvelopeDocument getResponse(EndpointReferenceType wsrSinkEpr, EndpointReferenceType wsrSourceEpr)
          Gets the EnvelopeDocument containing Simple Response Document In Header of the EnvelopeDocument Wsa:To Element would be wsrSouceEpr Wsa:From Element would be wsrSinkEpr and Wsa:Action Element would be processResponse This method is used when replyTo element is present in element and when replypattern would be Callback or element when replyTo element is present
 

Method Detail

getResponse

public EnvelopeDocument getResponse(AddressingHeaders addressingHeaders,
                                    EndpointReferenceType wsrSinkEpr)

addResponse

public void addResponse(EnvelopeDocument envelopeDocument,
                        ResponseDocument responseDocument)
This method adds the response element to the same envelopes document in the header


getResponse

public EnvelopeDocument getResponse(EndpointReferenceType wsrSinkEpr,
                                    EndpointReferenceType wsrSourceEpr)
Gets the EnvelopeDocument containing Simple Response Document In Header of the EnvelopeDocument Wsa:To Element would be wsrSouceEpr Wsa:From Element would be wsrSinkEpr and Wsa:Action Element would be processResponse This method is used when replyTo element is present in element and when replypattern would be Callback or element when replyTo element is present