Biztalk 调用带Soap Head WebService的方法

    前天有位网友正好也提到了类似的问题,正好以前我也作过这方面的项目;在Biztalk Orchestration中调用对方发布的WebService;但必须提供定义soap head作做一些处理;在Biztalk Orchestration中定义的soap Port  Request接受的消息只能是传参数,并没有soap head的消息;那要如何将soap head的消息一起传递给webservice呢;
    我通过Biztalk的帮助文件可以查到ms-help://MS.BTS.2006/BTS06Developing/html/4754dd23-386b-4093-8ea4-4da6b4d9279c.htm 标题是“ Using SOAP Headers in Orchestrations ” 其中有这样一段话
    You need a property schema to use defined SOAP header context properties in orchestrations. The property schema must have the target namespace of http://schemas.microsoft.com/BizTalk/2003/SOAPHeader. Each root element name in the property schema must match the root element name in the defined SOAP header. You can then set values for the context properties using the namespace of the property schema and the property name. 
    必须定义一个property schema 并且namespace必须是 http://schemas.microsoft.com/BizTalk/2003/SOAPHeader,还有定一个element property schema base 为MessageContextPropertyBase
    Orchestration的设计如下
    
    http://files.cnblogs.com/neozhu/Biztalk%20Invoke%20WebService.rar
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值