use of org.apache.headers.coloc.types.InHeaderT 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.InHeaderT 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());
}
Aggregations