Skip to Content
Pro WCF: Practical Microsoft SOA Implementation
book

Pro WCF: Practical Microsoft SOA Implementation

by Chris Peiris, Dennis Mulder, Shawn Cicoria, Amit Bahree, Nishith Pathak
January 2011
Intermediate to advanced
507 pages
13h 27m
English
Apress
Content preview from Pro WCF: Practical Microsoft SOA Implementation

SOAP Message Example

To illustrate what SOAP messages look like, we'll show an example of a web service used by an online retailer that accepts a unique product identifier and returns details about the product such as the name, description, price, and availability. Listing B-7 shows an example of such a service called GetProductDetails that accepts one parameter called ProductID. The Envelope namespace will always point to http://schemas.xmlsoap.org/soap/envelope, as described in the specification.

Example. Sample SOAP Request Message from a Client
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <getProductDetails xmlns="http://www.quickreturns.com/ws"> <productID>5820948</productID> </getProductDetails> </soap:Body> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro WCF 4: Practical Microsoft SOA Implementation, Second Edition

Pro WCF 4: Practical Microsoft SOA Implementation, Second Edition

Nishith Pathak

Publisher Resources

ISBN: 9781590597026Purchase book