One-way web service call in BizTalk Orchestration

The default ASP.NET web service behavior is to return a response even if a method returns void, to allow the service to return a fault message. BizTalk Server creates a response message part for the void return. If you are in control of the Web service and it is a .NET Web service, you can specify that a response should not be returned by using the [SoapDocumentMethod(OneWay=true)] attribute, making it truly fire-and-forget.

Sample code looks like this:

[WebMethod]

[SoapDocumentMethod(OneWay=true)]

public void OneWayService ()

{

}

When you add a web reference to your Orchestration project BizTalk now configures the port type to be one-way and the port shape reflects this.

相关文章:

  • 2021-07-06
  • 2021-10-07
  • 2021-12-06
  • 2022-01-28
  • 2021-06-16
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
猜你喜欢
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2021-08-03
  • 2022-01-08
  • 2022-12-23
相关资源
相似解决方案