适配器 WSDL 文件

在“添加适配器元数据向导”中,选择了“Web 服务描述语言 (WSDL) 文件”,并在 “选择要导入的服务” 页上输入。 该向导将读取服务公开的 WSDL 文件以及用户选择的 WSDL 文件。 然后,它将在 BizTalk 项目中创建和添加 XSD 文件以及业务流程。

在示例文件适配器中,Service1.wsdl 文件包含BizTalk Server添加到项目的 XSD 定义。 您可以选择修改该 Service1.wsdl 文件,或者创建自己的 WSDL 文件,该文件中包含要添加到 BizTalk 项目的 XSD 定义。

以下代码摘自 Service1.wsdl 文件:

<?xml version="1.0" encoding="utf-8"?>  
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/">  
  <types>  
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">  
      <s:element name="GetTaxID">  
        <s:complexType />  
      </s:element>  
      <s:element name="GetTaxIDResponse">  
        <s:complexType>  
          <s:sequence>  
            <s:element minOccurs="0" maxOccurs="1" name="GetTaxIDResult" type="s:string" />  
          </s:sequence>  
        </s:complexType>  
      </s:element>  
      <s:element name="GetPayStub">  
        <s:complexType />  
      </s:element>  
      <s:element name="GetPayStubResponse">  
        <s:complexType>  
          <s:sequence>  
            <s:element minOccurs="0" maxOccurs="1" name="GetPayStubResult" type="s:string" />  
          </s:sequence>  
        </s:complexType>  
      </s:element>  
      <s:element name="GetTaxInfo">  
        <s:complexType />  
      </s:element>