use of org.apache.cxf.aegis.type.map.fortest.MapTestImpl in project cxf by apache.
the class MapsTest method setUp.
@Before
public void setUp() throws Exception {
super.setUp();
JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
sf.setServiceClass(MapTest.class);
sf.setServiceBean(new MapTestImpl());
sf.setAddress("local://MapTest");
setupAegis(sf);
server = sf.create();
// server.getEndpoint().getInInterceptors().add(new LoggingInInterceptor());
// server.getEndpoint().getOutInterceptors().add(new LoggingOutInterceptor());
server.start();
JaxWsProxyFactoryBean proxyFac = new JaxWsProxyFactoryBean();
proxyFac.setAddress("local://MapTest");
proxyFac.setServiceClass(MapTest.class);
proxyFac.setBus(getBus());
setupAegis(proxyFac.getClientFactoryBean());
clientInterface = (MapTest) proxyFac.create();
}
Aggregations