使用biz talk server管理控制台2010下的wcf-custom sql绑定配置接收位置

时间:2013-06-24 06:49:57

标签: biztalk biztalk-2010

我创建了biz talk服务器项目,从存储过程中读取多行数据,并将每一行发送到asp.net webservice解决方案。 我使用添加生成的项目(使用适配器服务sql绑定来选择存储过程) 我不知道如何使用biz talk server管理控制台2010下的wcf-custom sql绑定配置接收位置。我应该在以下属性下编写什么

  1. 轮询数据可用声明
  2. 投票声明
  3. xml存储过程根节点名称
  4. xml存储过程根节点名称空间。
  5. 当我添加消费适配器服务sql绑定

    时,这是项目中生成的模式
        <?xml version="1.0" encoding="utf-16" ?> 
    - <xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns:ns3="http://schemas.datacontract.org/2004/07/System.Data" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/Sql/2008/05/Procedures/dbo" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import schemaLocation=".\DataSetSchema.xsd" namespace="http://schemas.datacontract.org/2004/07/System.Data" /> 
    - <xs:annotation>
    - <xs:appinfo>
      <fileNameHint xmlns="http://schemas.microsoft.com/servicemodel/adapters/metadata/xsd">Procedure.dbo</fileNameHint> 
    - <b:references>
      <b:reference targetNamespace="http://schemas.datacontract.org/2004/07/System.Data" /> 
      </b:references>
      </xs:appinfo>
      </xs:annotation>
    - <xs:element name="getMessages">
    - <xs:annotation>
    - <xs:documentation>
      <doc:action xmlns:doc="http://schemas.microsoft.com/servicemodel/adapters/metadata/documentation">Procedure/dbo/getMessages</doc:action> 
      </xs:documentation>
      </xs:annotation>
      <xs:complexType /> 
      </xs:element>
    - <xs:element name="getMessagesResponse">
    - <xs:annotation>
    - <xs:documentation>
      <doc:action xmlns:doc="http://schemas.microsoft.com/servicemodel/adapters/metadata/documentation">Procedure/dbo/getMessages/response</doc:action> 
      </xs:documentation>
      </xs:annotation>
    - <xs:complexType>
    - <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="getMessagesResult" nillable="true" type="ns3:ArrayOfDataSet" /> 
      <xs:element minOccurs="1" maxOccurs="1" name="ReturnValue" type="xs:int" /> 
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>
    

    期待你的助手 提前谢谢

2 个答案:

答案 0 :(得分:1)

有很多非常好的博客文章,以及示例代码。

看看:

根据您是要为返回的所有记录调用一次ASP.Net Web服务,还是为每个返回的记录调用一次(即一次调用或多次调用),您可能还想查看此博客有关对多个记录进行调度的帖子:

http://seroter.wordpress.com/2010/04/08/debatching-inbound-messages-from-biztalk-wcf-sql-adapter/

答案 1 :(得分:0)

你应该选择wcf-sql adapter,在绑定填充rood名称和命名空间然后把poll语句放在