0 Replies Latest reply on Nov 19, 2008 2:26 PM by rocken7

    soap handler init-param?

    rocken7

      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