public class KualiWebServiceExporter extends ServiceBusExporter implements org.springframework.beans.factory.InitializingBean
ServiceBusExporter class to let the @WebService details provide the SoapServiceDefinition automatically.
The original class behavior still works and the annotation based functionality is only activated if no definition is provided in the xml.
<bean id="ks.AtpServiceExport" class="org.kuali.student.commone.spring.KualiWebServiceExporter">
<property name="webService" ref="AtpService"/>
<property name="busSecurity" value="true" />
</bean>
versus the default:
<bean id="ks.AtpServiceExport" class="org.kuali.rice.ksb.api.bus.support.ServiceBusExporter">
<property name="serviceDefinition">
<bean class="org.kuali.rice.ksb.api.bus.support.SoapServiceDefinition">
<property name="jaxWsService" value="true" />
<property name="service" ref="atpEnrService" />
<property name="serviceInterface" value="org.kuali.student.r2.core.atp.service.AtpService" />
<property name="localServiceName" value="AtpService" />
<property name="serviceNameSpaceURI" value="http://student.kuali.org/wsdl/atp" />
<property name="busSecurity" value="true" />
</bean>
</property>
</bean>
| Constructor and Description |
|---|
KualiWebServiceExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
setBusSecurity(boolean busSecurity)
Set to false to disable security on the exported web service.
|
void |
setWebService(Object webService) |
autoLocateServiceBus, getServiceBus, getServiceDefinition, isForceSync, setForceRefresh, setServiceBus, setServiceDefinitionpublic KualiWebServiceExporter()
public void setWebService(Object webService)
webService - the webService to setpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class ServiceBusExporterpublic void setBusSecurity(boolean busSecurity)
busSecurity - the busSecurity to setCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.