public JaxWsServiceFactoryBean getJaxWsServiceFactory() { return (JaxWsServiceFactoryBean)getServiceFactory(); } public void setHandlers(@SuppressWarnings("rawtypes") List<Handler> h) {
public EndpointImpl(Bus b, Object i, String bindingUri, String wsdl, WebServiceFeature[] f) { bus = b; implementor = i; this.bindingUri = bindingUri; wsdlLocation = wsdl == null ? null : new String(wsdl); serverFactory = new JaxWsServerFactoryBean(); if (f != null) { ((JaxWsServiceFactoryBean)serverFactory.getServiceFactory()).setWsFeatures(Arrays.asList(f)); } }
/** * Add annotated Interceptors and Features to the Endpoint * @param ep */ protected void initializeAnnotationInterceptors(Endpoint ep, Class<?> ... cls) { Class<?> seiClass = ((JaxWsServiceFactoryBean)getServiceFactory()) .getJaxWsImplementorInfo().getSEIClass(); if (seiClass != null) { boolean found = false; for (Class<?> c : cls) { if (c.equals(seiClass)) { found = true; } } if (!found) { Class<?>[] cls2 = new Class<?>[cls.length + 1]; System.arraycopy(cls, 0, cls2, 0, cls.length); cls2[cls.length] = seiClass; cls = cls2; } } AnnotationInterceptors provider = new AnnotationInterceptors(cls); initializeAnnotationInterceptors(provider, ep); }
public JaxWsServiceFactoryBean getJaxWsServiceFactory() { return (JaxWsServiceFactoryBean)getServiceFactory(); } public void setHandlers(@SuppressWarnings("rawtypes") List<Handler> h) {
@Override protected BindingInfo createBindingInfo() { JaxWsServiceFactoryBean sf = (JaxWsServiceFactoryBean)getServiceFactory(); if (this.getServiceFactory().isPopulateFromClass()) { for (EndpointInfo ei : bindingInfo.getService().getEndpoints()) { ei.setProperty("soap.no.validate.parts", Boolean.TRUE);
serverFactory.getServiceFactory().setServiceName(serviceName); serverFactory.getServiceFactory().setExecutor(executor); setServiceName(serverFactory.getServiceFactory().getServiceQName());
public EndpointImpl(Bus b, Object i, String bindingUri, String wsdl, WebServiceFeature[] f) { bus = b; implementor = i; this.bindingUri = bindingUri; wsdlLocation = wsdl == null ? null : new String(wsdl); serverFactory = new JaxWsServerFactoryBean(); if (f != null) { ((JaxWsServiceFactoryBean)serverFactory.getServiceFactory()).setWsFeatures(Arrays.asList(f)); } }
/** * Add annotated Interceptors and Features to the Endpoint * @param ep */ protected void initializeAnnotationInterceptors(Endpoint ep, Class<?> ... cls) { Class<?> seiClass = ((JaxWsServiceFactoryBean)getServiceFactory()) .getJaxWsImplementorInfo().getSEIClass(); if (seiClass != null) { boolean found = false; for (Class<?> c : cls) { if (c.equals(seiClass)) { found = true; } } if (!found) { Class<?>[] cls2 = new Class<?>[cls.length + 1]; System.arraycopy(cls, 0, cls2, 0, cls.length); cls2[cls.length] = seiClass; cls = cls2; } } AnnotationInterceptors provider = new AnnotationInterceptors(cls); initializeAnnotationInterceptors(provider, ep); }
sf.setAddress(serviceUrl); sf.setServiceClass(serviceClass); sf.getServiceFactory().setDataBinding(new JAXBDataBinding()); sf.setServiceBean(context.getService(sr)); registeredServices.put(serviceUrl, sf.create());
serverFactory.setEndpointName(cbEndpointName); final List<AbstractServiceConfiguration> svcConfigs = serverFactory.getServiceFactory().getServiceConfigurations(); for (ListIterator<AbstractServiceConfiguration> it = svcConfigs.listIterator(); it.hasNext(); ) {
@Override protected BindingInfo createBindingInfo() { JaxWsServiceFactoryBean sf = (JaxWsServiceFactoryBean)getServiceFactory(); if (this.getServiceFactory().isPopulateFromClass()) { for (EndpointInfo ei : bindingInfo.getService().getEndpoints()) { ei.setProperty("soap.no.validate.parts", Boolean.TRUE);
serverFactory.getServiceFactory().setServiceName(serviceName); serverFactory.getServiceFactory().setExecutor(executor); setServiceName(serverFactory.getServiceFactory().getServiceQName());
factoryBean.setServiceClass(DocLitWrappedCodeFirstServiceImpl.class); factoryBean.setInvoker(invoker); factoryBean.getServiceFactory().setAnonymousWrapperTypes(true); factoryBean.getServiceFactory().getServiceConfigurations().add(0, new AbstractServiceConfiguration() { public Boolean isWrapperPartNillable(MessagePartInfo mpi) { return Boolean.TRUE;