Search in sources :

Example 1 with InHeaderT

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());
}
Also used : HeaderInfo(org.apache.headers.coloc.types.HeaderInfo) InHeaderT(org.apache.headers.coloc.types.InHeaderT) InHeaderResponseT(org.apache.headers.coloc.types.InHeaderResponseT)

Example 2 with InHeaderT

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());
}
Also used : HeaderInfo(org.apache.headers.coloc.types.HeaderInfo) InHeaderT(org.apache.headers.coloc.types.InHeaderT) InHeaderResponseT(org.apache.headers.coloc.types.InHeaderResponseT)

Aggregations

HeaderInfo (org.apache.headers.coloc.types.HeaderInfo)2 InHeaderResponseT (org.apache.headers.coloc.types.InHeaderResponseT)2 InHeaderT (org.apache.headers.coloc.types.InHeaderT)2