I need help figuring out how to read and write a particular bit of
data from an XML created by Sping. I tried using the example found
on :
http://www.swissdelphicenter.ch/en/showcode.php?id=2269 but
couldn't manage to make it work. Here is a fragment of the XML code
I'm dealing with. The value with the IP address is the part I want to
read and update. How do I do this? <?xml
version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://
www.springframework.org/dtd/spring-beans.dtd">
<beans>
<!-- ${application_host_server} property is set in Launcher main
the app -->
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="spring/app-
spring.properties" />
</bean>
<!--********************************************-->
<!-- Begin Remote Services using Springs Http Invoker -->
<!--********************************************-->
<!--Setup the Main Chap Service-->
<bean id="appServiceHttp"
class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl">
<value>
http://156.129.122.41/chapserver/remote</value>
<!--<value>
http://localhost:8080/${tomcat_appdir}/remote</
value>-->
</property>
<property name="serviceInterface">
<value>gov.usc.chap.common.service.ChapService</value>
</property>
</bean>