The Service Stub builder creates a separate, self-contained model that implements a version of a selected service.
This model contains a public service whose operations have the same signatures as the those in the original service, but which all return constant, test data.
Generating a "stub" service provider model is useful when the original service accesses a backend system that is slow or is not always available. A stub model can also be used to run a demo on a disconnected laptop, or when trying to reproduce a problem.
The Service Stub builder is not limited to working with public services. You can also use this builder to create self-contained representations of data services created by such builders as SQL Call or SAP Function.
The Service Stub builder can use information created by the Service Test builder to improve the generation of test data. If the Service Test builder is applied, the Service Stub builder can use the actual underlying service to generate real sample data; otherwise, the sample data is generated from the schema, and is not likely to look like real data.
The functionality provided by the Service Stub builder is also available in the Service Definition builder. It may be more convenient to do stub generation there if you are building a public service.
Parent topic: Builder Reference: wpf7
About using the builder call editor: wpf7
Working with data services: wpf7