O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

B.8. Use One-Way Operations

SOAP defines client-to-service communications in terms of messages. If you are using document-style messages, nothing says that every request must have a response message. In fact, WSDL defines a one-way operation as one that has a request message and no response message. This can be a very powerful design pattern for submitting requests or notifying services without requiring a response. A client sends a request and receives an empty HTTP response as soon as the request reaches your Web method. Of course you lose the ability to return data and error information, but there are some scenarios where this still makes sense. See Chapter 6 for details on implementing one-way operations and Chapter 13 for an example service ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required