我有一个使用SOAP适配器的接收位置的BizTalk 2009项目。现在它使用请求 - 响应架构,我希望通过仅使用请求模式(一种方式方案)来重新切换异步设计。

如果我想使用BizTalk Web服务发布向导,但我必须使用响应架构让向导完成作业。

是 - 在biztalk中 - 需要始终为每个SOAP调用响应类型?

有帮助吗?

解决方案

No, you can use one-way services with the SOAP-adapter in BizTalk (WCF-receive and send are a bit different however). All you need to do is to remove the two default methods you'll get in the wizard, add a new one as one-way and set it to the schema you'd like to use. Done.

其他提示

You can create a service that does not send an explicit response using the BizTalk WCF Publishing wizard (by adding a new, one-way service to the service when "creating WCF service from schemas"), but note that you aren't really creating an asynchronous WCF service.

Specifically, the WCF isOneWay flag is NOT set to "true", but rather, you are creating a WCF service that simply returns void. This may not be an issue for your design, but good to be aware of (source: http://msdn.microsoft.com/en-us/library/bb226362(BTS.70).aspx).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top