One-way web service call in BizTalk Orchestration
2007-05-18 08:15
627 查看
One-way web service call in BizTalk Orchestration[/b]
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.
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.
相关文章推荐
- FW:One-way web service call in BizTalk Orchestration
- how to call Web service in Excel 2003 / Excel 2005
- BizTalk Orchestration Publish Host In-Process Wcf Service without IIS 多种供客户端调用方式
- "401: Access Denied" when you call webservice in your webpart.
- one way WebService
- BizTalk Orchestration Publish Host In-Process Wcf Service without IIS 多种供客户端调用方式
- Q & A:Does ASP.NET support one-way Web Service operations?
- using visual webgui gateways in a simpler way
- 第二章:CallsManager调用 startOutgoingCall开始拨号流程之四InCallController.java绑定InCallService.java实现进程间Binder通信
- create a deployment package for Webservice in Visual Studio
- Adobe Creative Suite 3 Web Premium All-in-One Desk Reference For Dummies
- Biztalk Web Service Publish Wizard高级设置
- PHP & MySQL Web Development All-in-One Desk Reference For Dummies
- 解决Java call php web webService 中文参数乱码 终极解决方法
- Silverlight: serializing the contents of a web service call
- Web.Config - create WCF REST Service and host in Windows Azure
- Sharepoint Service Error: A deployment or retraction is already under way for the solution "xxx.wsp" , and only one deployment or retraction at a time
- oneway in *.aidl
- Host a WCF Service in IIS 7 & Windows 2008 - The right way
- SharePoint Portal Server 2003 Search does't like .Net Framework 2.0!!! (for Error in PortalCrawl Web Service solution)