[jboss-user] [JBossWS] - soap handler init-param?
rocken7
do-not-reply at jboss.com
Wed Nov 19 14:26:27 EST 2008
On the latest jbossWS release ... with jboss-4.2.2.GA.
Is there a way to add init-param or something similiar to the jaxws-handlers.xml configuration file?
I have implemented a SOAPHandler and due to various environments, it would be nice to provide some injected configuration properties.
I thought you could do this:
<?xml version="1.0" encoding="UTF-8"?>
| <handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee javaee_web_services_1_2.xsd">
| <handler-chain>
| <handler>
| <handler-class>com.yvx.content.wsdev.DeviceHandler</handler-class>
| <init-params>
| <init-param name="myProperty" value="http://localhost:9100/userService"/>
| </init-params>
| </handler>
| </handler-chain>
| </handler-chains>
|
But that doesn't seem to work. If there is a better way, please discuss.
Thnx
rocken7
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190614#4190614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190614
More information about the jboss-user
mailing list