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.7. Use RequestElement Routing

Normally SOAPAction is used to route request messages to the appropriate methods. This has many problems, not the least of which is its reliance on HTTP. For the reasons explained in Chapter 6, avoid using SOAPAction if you can. By default, ASP.NET Web services rely on SOAPAction. You can change that by adding a SoapDocumentServiceAttribute attribute to the Web service class and setting its RoutingStyle property to SoapServiceRoutingStyle.RequestElement. See Chapter 6 for more details on the RoutingStyle property.

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