前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Biztalk 调用带Soap Head WebService的方法

Biztalk 调用带Soap Head WebService的方法

作者头像
阿新
发布2018-04-12 19:39:01
1.6K0
发布2018-04-12 19:39:01
举报
文章被收录于专栏:c#开发者c#开发者

    前天有位网友正好也提到了类似的问题,正好以前我也作过这方面的项目;在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

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2006-08-28 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档