Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: wsdl-port

## wsdl-publish-location

Specifies the URL of a directory to which a web service’s WSDL is published during deployment. Any required files are published to this directory, preserving their location relative to the module-specific WSDL directory (`META-INF/wsdl` or `WEB-INF/wsdl`).

### Superelements

webservice-description (`sun-web.xml`, `sun-ejb-jar.xml`)

### Subelements

none - contains data

### Example

Suppose you have an `ejb.jar` file whose `webservices.xml` file’s `wsdl-file` element contains the following reference:

    META-INF/wsdl/a/Foo.wsdl

Suppose your `sun-ejb-jar` file contains the following element:

    <wsdl-publish-location>file:/home/user1/publish</wsdl-publish-location>

The final WSDL is stored in `/home/user1/publish/a/Foo.wsdl`.

- Previous: wsdl-port

- © 2010, Oracle Corporation and/or its affiliates