use of org.apache.headers.coloc.types.InHeaderResponseT in project cxf by apache.
the class AbstractHeaderServiceDocLitTest method verifyInHeaderParts.
protected void verifyInHeaderParts(HeaderTester ht) {
getLogger().debug("Client: calling inHeader");
InHeaderT inHeader = new InHeaderT();
inHeader.setRequestType(HeaderTesterUtil.IN_REQUEST_TYPE);
HeaderInfo headerInfo = new HeaderInfo();
headerInfo.setMessage(HeaderTesterUtil.IN_MESSAGE);
headerInfo.setOriginator(HeaderTesterUtil.IN_ORIGINATOR);
InHeaderResponseT inHeaderResponse = ht.inHeader(inHeader, headerInfo);
assertEquals(HeaderTesterUtil.OUT_RESPONSE_TYPE, inHeaderResponse.getResponseType());
}
use of org.apache.headers.coloc.types.InHeaderResponseT in project cxf by apache.
the class AbstractHeaderServiceRpcLitTest method verifyInHeaderParts.
protected void verifyInHeaderParts(HeaderTester ht) {
getLogger().debug("Client: calling inHeader");
InHeaderT inHeader = new InHeaderT();
inHeader.setRequestType(HeaderTesterUtil.IN_REQUEST_TYPE);
HeaderInfo headerInfo = new HeaderInfo();
headerInfo.setMessage(HeaderTesterUtil.IN_MESSAGE);
headerInfo.setOriginator(HeaderTesterUtil.IN_ORIGINATOR);
InHeaderResponseT inHeaderResponse = ht.inHeader(inHeader, headerInfo);
assertEquals(HeaderTesterUtil.OUT_RESPONSE_TYPE, inHeaderResponse.getResponseType());
}
use of org.apache.headers.coloc.types.InHeaderResponseT in project cxf by apache.
the class BaseHeaderTesterDocLitImpl method inHeader.
public InHeaderResponseT inHeader(InHeaderT me, HeaderInfo headerInfo) {
getLogger().debug("Server: inHeader called");
assertEquals(HeaderTesterUtil.IN_REQUEST_TYPE, me.getRequestType());
assertEquals(HeaderTesterUtil.IN_MESSAGE, headerInfo.getMessage());
assertEquals(HeaderTesterUtil.IN_ORIGINATOR, headerInfo.getOriginator());
InHeaderResponseT inHeaderResponse = new InHeaderResponseT();
inHeaderResponse.setResponseType(HeaderTesterUtil.OUT_RESPONSE_TYPE);
return inHeaderResponse;
}
use of org.apache.headers.coloc.types.InHeaderResponseT in project cxf by apache.
the class BaseHeaderTesterRpcLitImpl method inHeader.
public InHeaderResponseT inHeader(InHeaderT in, HeaderInfo header) {
getLogger().debug("Server: inHeader called");
assertEquals(HeaderTesterUtil.IN_REQUEST_TYPE, in.getRequestType());
assertEquals(HeaderTesterUtil.IN_MESSAGE, header.getMessage());
assertEquals(HeaderTesterUtil.IN_ORIGINATOR, header.getOriginator());
InHeaderResponseT inHeaderResponse = new InHeaderResponseT();
inHeaderResponse.setResponseType(HeaderTesterUtil.OUT_RESPONSE_TYPE);
return inHeaderResponse;
}
Aggregations