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

    soap handler init-param?

    freak hagga Newbie

      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"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee javaee_web_services_1_2.xsd">
       <init-param name="myProperty" value="http://localhost:9100/userService"/>

      But that doesn't seem to work. If there is a better way, please discuss.