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