use of org.apache.headers.types.InHeader 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