Commerce Foundation Request and Response Extensibility Point
Commerce Server 2009 requests and responses are fully extensible. The following represents the class hierarchy of the CommerceQueryOperation.
You have the ability to extend operation requests and responses simply by deriving classes from existing ones or introduce completely new ones simply by deriving from the CommerceOperation and CommerceOperationResponse classes accordingly.
All operation responses are instantiated through by the Broker on a given configured type. The Broker uses .NET reflection to instantiate the classes into their corresponding object. When a request is sent to the Microsoft Multi-Channel Commerce Foundation service, the Broker is responsible for instantiating the response object. The type of the response is defined as part of the operation sequence definition.
WCF relies on the use of KnownType. These are read at runtime by WCF to provide the proper serialization and WSDL information. When you introduce your own classes into Microsoft Multi-Channel Commerce Foundation you need to provide the KnownType information. This is done in both the presentation and application tier .NET configuration files.
While WCF is not supported as an enabled service in this release, it has not been disabled.