Search in sources :

Example 1 with InHeader

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());
}
Also used : SOAPHeaderData(org.apache.headers.types.SOAPHeaderData) InHeader(org.apache.headers.types.InHeader) InHeaderResponse(org.apache.headers.types.InHeaderResponse)

Aggregations

InHeader (org.apache.headers.types.InHeader)1 InHeaderResponse (org.apache.headers.types.InHeaderResponse)1 SOAPHeaderData (org.apache.headers.types.SOAPHeaderData)1