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
2010-02-08 09:18:48
it must be something like SOAP, i think.
Benny
2010-02-08 09:20:08
@Benny: it **IS** SOAP - all the way (unless you use WebHttpBinding, then it's REST)
marc_s
2010-02-08 21:56:48
+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
2010-02-08 21:58:28