[jboss-dev-forums] [JBoss AS7 Development] - Re: How to configure a service-ref in the environment?

Richard Opalka do-not-reply at jboss.com
Mon Nov 7 04:25:57 EST 2011


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111107/8def6c3c/attachment.html 


More information about the jboss-dev-forums mailing list