6 Appendix A: Full WSDL

For ease of implementation, this section provides the full WSDL for the Database Publishing Wizard Protocol.

 <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
  xmlns:tns="http://schemas.microsoft.com/sqlserver/2006/12/publishing" 
  xmlns:s="http://www.w3.org/2001/XMLSchema" 
  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
  targetNamespace="http://schemas.microsoft.com/sqlserver/2006/12/publishing" 
  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:types>
     <s:schema elementFormDefault="qualified"
  targetNamespace="http://schemas.microsoft.com/sqlserver/2006/12/publishing">
       <s:element name="BeginPublish">
         <s:complexType>
           <s:sequence>
             <s:element name="serverName" type="s:string" minOccurs="0" maxOccurs="1" />
             <s:element name="databaseName" type="s:string" minOccurs="0" maxOccurs="1" />
             <s:element name="sqlUsername" type="s:string" minOccurs="0" maxOccurs="1" />
             <s:element name="sqlPassword" type="s:string" minOccurs="0" maxOccurs="1" />
             <s:element name="useTransactions" type="s:boolean" minOccurs="1" maxOccurs="1" />
           </s:sequence>
         </s:complexType>
       </s:element>
       <s:element name="BeginPublishResponse">
         <s:complexType />
       </s:element>
       <s:element name="PublishScript">
         <s:complexType>
           <s:sequence>
             <s:element name="script" type="s:string" minOccurs="0" maxOccurs="1" />
           </s:sequence>
         </s:complexType>
       </s:element>
       <s:element name="PublishScriptResponse">
         <s:complexType />
       </s:element>
       <s:element name="PublishData">
         <s:complexType>
           <s:sequence>
             <s:element name="ds" minOccurs="0" maxOccurs="1" >
               <s:complexType>
                 <s:sequence>
                   <s:element ref="s:schema" />
                   <s:any />
                 </s:sequence>
               </s:complexType>
             </s:element>
           </s:sequence>
         </s:complexType>
       </s:element>
       <s:element name="PublishDataResponse">
         <s:complexType />
       </s:element>
       <s:element name="EndPublish">
         <s:complexType />
       </s:element>
       <s:element name="EndPublishResponse">
         <s:complexType />
       </s:element>
       <s:element name="CancelPublish">
         <s:complexType />
       </s:element>
       <s:element name="CancelPublishResponse">
         <s:complexType />
       </s:element>
       <s:element name="GetServiceOptions">
         <s:complexType />
       </s:element>
       <s:element name="GetServiceOptionsResponse">
         <s:complexType>
           <s:sequence>
             <s:element name="GetServiceOptionsResult" minOccurs="0" maxOccurs="1">
               <s:complexType mixed="true">
                 <s:sequence>
                   <s:any />
                 </s:sequence>
               </s:complexType>
             </s:element>
           </s:sequence>
         </s:complexType>
       </s:element>
     </s:schema>
   </wsdl:types>
   <wsdl:message name="BeginPublishSoapIn">
     <wsdl:part name="parameters" element="tns:BeginPublish" />
   </wsdl:message>
   <wsdl:message name="BeginPublishSoapOut">
     <wsdl:part name="parameters" element="tns:BeginPublishResponse" />
   </wsdl:message>
   <wsdl:message name="PublishScriptSoapIn">
     <wsdl:part name="parameters" element="tns:PublishScript" />
   </wsdl:message>
   <wsdl:message name="PublishScriptSoapOut">
     <wsdl:part name="parameters" element="tns:PublishScriptResponse" />
   </wsdl:message>
   <wsdl:message name="PublishDataSoapIn">
     <wsdl:part name="parameters" element="tns:PublishData" />
   </wsdl:message>
   <wsdl:message name="PublishDataSoapOut">
     <wsdl:part name="parameters" element="tns:PublishDataResponse" />
   </wsdl:message>
   <wsdl:message name="EndPublishSoapIn">
     <wsdl:part name="parameters" element="tns:EndPublish" />
   </wsdl:message>
   <wsdl:message name="EndPublishSoapOut">
     <wsdl:part name="parameters" element="tns:EndPublishResponse" />
   </wsdl:message>
   <wsdl:message name="CancelPublishSoapIn">
     <wsdl:part name="parameters" element="tns:CancelPublish" />
   </wsdl:message>
   <wsdl:message name="CancelPublishSoapOut">
     <wsdl:part name="parameters" element="tns:CancelPublishResponse" />
   </wsdl:message>
   <wsdl:message name="GetServiceOptionsSoapIn">
     <wsdl:part name="parameters" element="tns:GetServiceOptions" />
   </wsdl:message>
   <wsdl:message name="GetServiceOptionsSoapOut">
     <wsdl:part name="parameters" element="tns:GetServiceOptionsResponse" />
   </wsdl:message>
   <wsdl:portType name="PublishServiceSoap">
     <wsdl:operation name="BeginPublish">
       <wsdl:input message="tns:BeginPublishSoapIn" />
       <wsdl:output message="tns:BeginPublishSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="PublishScript">
       <wsdl:input message="tns:PublishScriptSoapIn" />
       <wsdl:output message="tns:PublishScriptSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="PublishData">
       <wsdl:input message="tns:PublishDataSoapIn" />
       <wsdl:output message="tns:PublishDataSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="EndPublish">
       <wsdl:input message="tns:EndPublishSoapIn" />
       <wsdl:output message="tns:EndPublishSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="CancelPublish">
       <wsdl:input message="tns:CancelPublishSoapIn" />
       <wsdl:output message="tns:CancelPublishSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="GetServiceOptions">
       <wsdl:input message="tns:GetServiceOptionsSoapIn" />
       <wsdl:output message="tns:GetServiceOptionsSoapOut" />
     </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="PublishServiceSoap" type="tns:PublishServiceSoap">
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
     <wsdl:operation name="BeginPublish">
       <soap:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/BeginPublish" 
  style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="PublishScript">
       <soap:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/PublishScript" 
  style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="PublishData">
       <soap:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/PublishData" 
  style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="EndPublish">
       <soap:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/EndPublish" 
  style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="CancelPublish">
       <soap:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/CancelPublish" 
  style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="GetServiceOptions">
       <soap:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/GetServiceOptions" 
  style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="PublishServiceSoap12" type="tns:PublishServiceSoap">
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
     <wsdl:operation name="BeginPublish">
       <soap12:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/BeginPublish" 
  style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="PublishScript">
       <soap12:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/PublishScript" 
  style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="PublishData">
       <soap12:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/PublishData" 
  style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="EndPublish">
       <soap12:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/EndPublish" 
  style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="CancelPublish">
       <soap12:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/CancelPublish" 
  style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="GetServiceOptions">
       <soap12:operation soapAction=
  "http://schemas.microsoft.com/sqlserver/2006/12/publishing/GetServiceOptions" 
  style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
       <wsdl:output>
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="PublishService">
     <wsdl:port name="PublishServiceSoap" binding="tns:PublishServiceSoap">
       <soap:address location=
  "http://localhost:44295/Database_Publsihing_Services_1.1/Publish/Service.asmx" 
  />
     </wsdl:port>
     <wsdl:port name="PublishServiceSoap12" binding="tns:PublishServiceSoap12">
       <soap12:address location=
  "http://localhost:44295/Database_Publsihing_Services_1.1/Publish/Service.asmx" 
  />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>