contract:
- service contract:describe the funtional operation implemented by the service
-
request -response operation contract
-
one way operation contract
-
duplex operation contract
2. data contract: describe the data structures through which the service communicates. a data contract serializes clr types to xml and is strictly opt-in with their data members.
3. message contract: work with typed and untyped data and provide precise control over the soap headers and bodies;