I have an XML-Based configuration just like this in Spring :
<bean id="bean101" class="org.springframework.ws.client.core.WebServiceTemplate" scope="singleton">
<property name="marshaller" ref="xmlBeansMarshaller" />
<property name="unmarshaller" ref="xmlBeansMarshaller" />
<property name="defaultUri" value="http://127.0.0.1/services/WebServices/xyz.asmx?wsdl" />
</bean>
<bean id="bean102" class="org.springframework.ws.client.core.WebServiceTemplate" scope="singleton">
<property name="marshaller" ref="xmlBeansMarshaller"/>
<property name="unmarshaller" ref="xmlBeansMarshaller"/>
<property name="defaultUri" value="http://127.0.0.1/XYZService/MyService/MyService.svc?wsdl"/>
</bean>
I would like to ask/verify if I can dynamically insert a new Bean element, for instance "Bean103" upon runtime? If yes, is it possible that the changes from this XML-based configuration would take effect without restarting the server? Thanks a lot!