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> |
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.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.