Web Service Development Guide : PART IV Extending your Applications : Chapter 14 SOAP Message Handlers : Adding Initialization Parameters to Handlers
Adding Initialization Parameters to Handlers
The <servicecontextname>_handlers.xml file may define a wide range of initialization parameters, allowing you to set various properties as necessary using the property element. For example, to add custom configuration information to a service request handler, you might write something like:
 
<configuration>
<service name="CustomService">
<request-handlers>
<handler name="http://localhost:8080/custom/CustomSkeleton">
<property name="someProperty" value="someValue"/>
</handler>
</request-handlers>
...
</service>
</configuration>
NOTE >> For handlers that are also named objects, add initialization parameters to the <servicecontextname>_handlers.xml file rather than to <servicecontextname>_objects.xml.
These properties are then added to the rwsf::CallInfo passed into the handler's invoke() function. The property value can be retrieved via the rwsf::CallInfo 's getStringProperty(string propertyName) function.