Richard Opalka [
http://community.jboss.org/people/ropalka] created the discussion
"Re: How to configure a service-ref in the environment?"
To view the discussion, visit:
http://community.jboss.org/message/635283#635283
--------------------------------------------------------------
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
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>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/635283#635283]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]