-
1. Re: How to configure a service-ref in the environment?
ropalka Nov 7, 2011 4:25 AM (in response to m.winkels)Provide jboss-web.xml with the /jboss-web/service-ref/wsdl-override element.
See the following example:
<jboss-web>
<!-- usecase 1 -->
<service-ref>
<service-ref-name>service2</service-ref-name>
<wsdl-override>WEB-INF/wsdl/Endpoint.wsdl</wsdl-override>
</service-ref>
<!-- usecase 2 -->
<service-ref>
<service-ref-name>service2</service-ref-name>
<wsdl-override>http://foo/bar/Endpoint.wsdl</wsdl-override>
</service-ref>
<!-- usecase 3 -->
<service-ref>
<service-ref-name>service2</service-ref-name>
<wsdl-override>file:///var/data/webapp1/Endpoint.wsdl</wsdl-override>
</service-ref>
</jboss-web>
-
2. Re: How to configure a service-ref in the environment?
m.winkels Nov 7, 2011 11:04 AM (in response to ropalka)Hi Richard,
Thanks for you answer!
Maybe my question was not clear enough: Can I change the values in the (jboss-)web-xml for the wsdl-file or wsdl-override elements depending on the environment? If I could inject a system property, that would be just what I'm looking for!
Thanks, -Maarten Winkels
-
3. Re: How to configure a service-ref in the environment?
ropalka Nov 8, 2011 2:44 AM (in response to m.winkels)There's no such dynamic approach available