Hi,
I'm trying to figure out the simplest way to communicate a configuration parameter to a web service. In this case, it's a directory location. I've done a lot of searching, but I'm not clear on how to achieve this. I'm using
Tomcat 5.028, Axis 1.4.
I'm thinking about adding something to web.xml, either this:
<web-app>
<context-param>
<param-name>
dir_name
</param-name>
<param-value>
/usr/local/abcd
</param-value>
</context-param>
or perhaps this:
<init-param>
<param-name>dir_name</param-name>
<param-value>f/usr/local/abcd</param-value
</init-param>
But, I'm not clear on the difference between the two, nor how to access them from a wsdl-generated web service (...SoapBindingImpl).
Any ideas appreciated!