Calling Web Services in BizTalk Server

Calling Web Services in BizTalk Server

 


BizTalk Server provides built-in support for Web services. You can consume web services from within an orchestration. You can aggregate several web services into single orchestration to complete an entire business process.

 

Usually, when you consume a Web Service, the Add Web Reference wizard will create a set of  message types for you in the Orchestration View. If the types of the web methods are simple, then you can not choose them for the mapper. Instead you will need to use a Message Assignment shape and assign values to the parameters manually instead of using a map.

 

In some special cases, a web service returns or accepts an object. In such cases a custom map is required to send a request to the web service. When you look under the folder “Web References”, you will find a file named Reference.xsd. This file would contain the expected input and output formats to correctly invoke the web service.

 

There is a demo at the following URL.

http://www.codeproject.com/useritems/WSCustomParams.asp

Calling a Web Service with Custom Parameters from an Orchestration in BizTalk Server 2004

By Naveen Karamchetti.

 

In BizTalk Server 2006, you can also call web services directly without orchestration.

You can create a send port capable of sending messages to the external web service. Simply choose the SOAP adapter and specify the address of the external Web service. Then, on the Web Service tab, select a Web service proxy class and method to use. BizTalk will use this proxy class when sending the message. The assembly needs to be in the global assembly cache (GAC) at run time.

 CallingWebServices.JPG

For more information, please refer to the following URL.

BizTalk 2006 SOAP Adapter (Web Service call) in Messaging Only Scenario.

http://www.digitaldeposit.net/blog/2006/12/biztalk-2006-soap-adapter-web-service.html

 

 

 

posted @   Rickie  阅读(584)  评论(2编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2006-05-06 Hands On Labs - Enterprise Library for .NET Framework 2.0 - January 2006 released!!!
点击右上角即可分享
微信分享提示