use of wssec.wssec10.IPingService in project cxf by apache.
the class WSSecurity10UsernameAuthorizationTest method getComplexPolicyPort.
private static IPingService getComplexPolicyPort(Bus bus) {
BusFactory.setDefaultBus(bus);
BusFactory.setThreadDefaultBus(bus);
PingService svc = new PingService(getWsdlLocation("UserNameOverTransport"));
return svc.getPort(new QName("http://WSSec/wssec10", "UserNameOverTransport" + "_IPingService"), IPingService.class);
}
Aggregations