Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
By default, ASP.NET Web service operations are defined as request-response operations. A request-response operation always returns a message to the calling application upon completion, even if the operation returns a void type. However, you can designate the operation as a one-way operation so that the Web server hosting the Web service acknowledges the original request but the operation does not return a response upon completion.
For more information about ASP.NET Web service operations, see Overview of ASP.NET Applications on Application Diagrams.
To specify an ASP.NET Web service operation as a one-way or request-response operation
In the Web Service Details window, right-click the operation icon and choose Properties.
Tip
If the Web Service Details window is closed, right-click the Web service provider endpoint on the application diagram and choose Define Operations.
In the Properties window, set the WSDL One-Way property as follows:
True to specify that the Web server acknowledges the original request but that the operation does not return a response upon completion.
False to specify that the operation returns a response upon completion. (Default)
The operation icon indicates whether the operation is a one-way or request-response operation.
See Also
Tasks
How to: Define Operations for ASP.NET Web Services
How to: Edit Operations for ASP.NET Web Services
Reference
Keyboard Shortcuts for the Web Service Details Window