1 package org.codehaus.xfire.wsdl;
2
3 import java.io.IOException;
4 import java.io.OutputStream;
5
6 /***
7 * Writes a WSDL file for a service. This is WSDL version agnostic.
8 *
9 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
10 */
11 public interface WSDLWriter
12 {
13 public static final String WSDL11_NS = "http://schemas.xmlsoap.org/wsdl/";
14
15 public static final String WSDL11_SOAP_NS = "http://schemas.xmlsoap.org/wsdl/soap/";
16
17 /***
18 * Write the WSDL to an OutputStream.
19 *
20 * @param out The OutputStream.
21 * @throws IOException
22 */
23 void write(OutputStream out) throws IOException;
24 }