Search in sources :

Example 1 with TestRPCHeaderImpl

use of org.apache.header_test.rpc.TestRPCHeaderImpl in project cxf by apache.

the class HeaderClientServerTest method setUp.

@Before
public void setUp() throws Exception {
    BusFactory.setDefaultBus(getBus());
    Object implementor = new TestHeaderImpl();
    String address = "http://localhost:9104/SoapHeaderContext/SoapHeaderPort";
    endpoint = (EndpointImpl) Endpoint.publish(address, implementor);
    implementor = new TestRPCHeaderImpl();
    address = "http://localhost:9104/SoapHeaderRPCContext/SoapHeaderRPCPort";
    rpcEndpoint = (EndpointImpl) Endpoint.publish(address, implementor);
}
Also used : TestRPCHeaderImpl(org.apache.header_test.rpc.TestRPCHeaderImpl) TestHeaderImpl(org.apache.header_test.TestHeaderImpl) Before(org.junit.Before)

Aggregations

TestHeaderImpl (org.apache.header_test.TestHeaderImpl)1 TestRPCHeaderImpl (org.apache.header_test.rpc.TestRPCHeaderImpl)1 Before (org.junit.Before)1