|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHeaderProcessor
The IHeaderProcessor interface represents a SOAP Header Processor and is intended to be
implemented by concrete processors which, in turn, implement header protocols like WSA Adressing.
For every activity (like, for example, send/receive asynchronous), a new instance of a header
processor will be created by the framework.
A header processor may be specified at any given activity. The order in which the
processSend(ActivityContext, SendPackage)
and
processReceive(ActivityContext, SOAPMessage)
methods are called depends on that
activity.
Properties defined by the tester in the test specifications are set via
setProperty(String, String)
. All properties are guaranteed to be set before any of the
other methods are called.
Method Summary | |
---|---|
void |
processReceive(net.bpelunit.framework.model.test.activity.ActivityContext context,
SOAPMessage receivedPackage)
Process a SOAP Message which has been received from a web service. |
void |
processSend(net.bpelunit.framework.model.test.activity.ActivityContext context,
SendPackage sendPackage)
Process a SOAP Message which is intended to be sent to a web service. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets a property given by the tester in the test specification. |
Method Detail |
---|
void setProperty(java.lang.String name, java.lang.String value)
name
- name of the propertyvalue
- value of the propertyvoid processSend(net.bpelunit.framework.model.test.activity.ActivityContext context, SendPackage sendPackage) throws net.bpelunit.framework.exception.HeaderProcessingException
context
- activity contextsendPackage
- the data to be sent
net.bpelunit.framework.exception.HeaderProcessingException
void processReceive(net.bpelunit.framework.model.test.activity.ActivityContext context, SOAPMessage receivedPackage) throws net.bpelunit.framework.exception.HeaderProcessingException
context
- activity contextreceivedPackage
- the received data
net.bpelunit.framework.exception.HeaderProcessingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |