You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-commits@ws.apache.org by ip...@apache.org on 2005/09/30 17:38:37 UTC
svn commit: r292776 [2/2] - in /webservices/wsrf/trunk/src:
examples/filesystem/
examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/
examples/interop/src/java/org/oasisOpen/docs/wsrf/x2005/x01/wsrfInterop20Draft03Wsdl/
java/org/apac...
Modified: webservices/wsrf/trunk/src/webapp/WEB-INF/classes/spring-jndi-config.xml
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/webapp/WEB-INF/classes/spring-jndi-config.xml?rev=292776&r1=292775&r2=292776&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/webapp/WEB-INF/classes/spring-jndi-config.xml (original)
+++ webservices/wsrf/trunk/src/webapp/WEB-INF/classes/spring-jndi-config.xml Fri Sep 30 08:38:25 2005
@@ -3,11 +3,17 @@
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
-
- <bean name="global/DefaultParameters" class="org.apache.ws.util.jndi.DefaultParameters">
- <property name="factory"><value>org.apache.ws.util.jndi.BeanFactory</value></property>
+
+ <bean name="global/WsrfRuntime" class="org.apache.ws.resource.WsrfRuntime" factory-method="getRuntime">
+ <property name="baseWebappUrl">
+ <!--
+ The value of the baseWebappUrl property may contain the following:
+ o the marker $IP_ADDRESS$ in which case we will attempt to determine the IP address at runtime. (Do not use on multi-homed systems)
+ o the marker $HOST_NAME$ in which case we will attempt to determine the host name at runtime
+ o NO Marker in which case whatever value you add will be static and used.
+ -->
+ <value>http://$IP_ADDRESS$:8080/wsrf</value>
+ </property>
</bean>
- <bean name="global/timer/ContainerTimer" class="org.apache.ws.util.timer.TimerManagerImpl" />
-
</beans>
Modified: webservices/wsrf/trunk/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/webapp/WEB-INF/web.xml?rev=292776&r1=292775&r2=292776&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/webapp/WEB-INF/web.xml (original)
+++ webservices/wsrf/trunk/src/webapp/WEB-INF/web.xml Fri Sep 30 08:38:25 2005
@@ -7,6 +7,18 @@
<display-name>Apache WSRF</display-name>
+<!--
+ <context-param>
+ <param-name>jndi.config.dialect</param-name>
+ <param-value>http://www.springframework.org/dtd/spring-beans.dtd</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>jndi.config.location</param-name>
+ <param-value>spring-jndi-config.xml</param-value>
+ </context-param>
+-->
+
<listener>
<listener-class>org.apache.ws.resource.webapp.WsrfServletContextListener</listener-class>
</listener>