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的设计如下
https://files.cnblogs.com/neozhu/Biztalk%20Invoke%20WebService.rar
我通过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的设计如下
https://files.cnblogs.com/neozhu/Biztalk%20Invoke%20WebService.rar
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix