return new JAXBElement(new QName(tns, eventClass.getName()), eventClass, evt);
}
protected Object getProxy(Class<?> sinkInterface, Class<?>... extraClasses) {
//needed SOAP handlers
ReferenceParametersAddingHandler handler = new
ReferenceParametersAddingHandler(
target.getNotificationReferenceParams());
JaxWsProxyFactoryBean service = new JaxWsProxyFactoryBean();
service.getOutInterceptors().add(new LoggingOutInterceptor());