use of org.apache.headers.types.InHeaderResponse in project cxf by apache.
the class HeaderTesterImpl method inHeader.
public InHeaderResponse inHeader(InHeader me, SOAPHeaderData headerInfo) {
InHeaderResponse resp = new InHeaderResponse();
resp.setResponseType("requestType=" + me.getRequestType() + "\nheaderData.message=" + headerInfo.getMessage() + "\nheaderData.getOriginator=" + headerInfo.getOriginator());
return resp;
}
use of org.apache.headers.types.InHeaderResponse in project cxf by apache.
the class ClientServerXMLTest method verifyInHeader.
public void verifyInHeader(HeaderTester proxy) throws Exception {
InHeader me = new InHeader();
me.setRequestType("InHeaderRequest");
SOAPHeaderData headerInfo = new SOAPHeaderData();
headerInfo.setMessage("message");
headerInfo.setOriginator("originator");
InHeaderResponse resp = proxy.inHeader(me, headerInfo);
assertNotNull(resp);
assertEquals("check returned response type", "requestType=InHeaderRequest" + "\nheaderData.message=message" + "\nheaderData.getOriginator=originator", resp.getResponseType());
}
Aggregations