views:

180

answers:

3

I am wondering how WCF serialize the method call, e.g. how the target class, method, method parameters are serialized, anybody has idea?

+4  A: 

You can use Fiddler to find out! If you set up a WCF service using HTTP bindings, Fiddler can show you the traffic between your client and service.

Samuel Jack
it must be something like SOAP, i think.
Benny
@Benny: it **IS** SOAP - all the way (unless you use WebHttpBinding, then it's REST)
marc_s
+1  A: 

WCF is fundamentally a SOAP message service - so your messages will be SOAP messages, with all the SOAP envelopes, containing headers and body.

Check out the great Service Station: Serialization In WCF MSDN article by Aaron Skonnard for an extensive discussion of all the ins and outs of serializing messages in WCF. Highly recommended reading.

marc_s