Service Model Examples
The following examples illustrate using the Service Model:
Calculator service:
- Client: HttpCalculatorClientExample
- Server: HttpCalculatorServiceExample
Calculator service with SSL transport security:
Calculator service with username over SSL mixed-mode security:
Calculator service with Kerberos over SSL mixed-mode security:
Calculator service with basic HTTP header authentication over SSL transport security:
Purchase order service:
- Client: HttpPurchaseOrderClientExample
- Server: HttpPurchaseOrderServiceExample
Purchase order service with SSL transport security:
Purchase order service with username over SSL mixed-mode security:
Purchase order service with Kerberos over SSL mixed-mode security:
UnTyped purchase order service:
- Client: UnTypedClientExample
- Server: UnTypedServiceExample
Sessionful calculator:
Service operation with abort notification:
- Client: ServiceCancellationExample
- Server: BlockingServiceExample
Call cancellation:
- Client: CallAbandonExample
- Server: SessionfullCalculatorServiceExample
Communicate with a ASMX TerraService service using a custom proxy: AsmxTerraServiceSampleWithCustomProxy.
Manually create a policy description and use it to create a service proxy: PolicyTemplateExample.
Communicate with a WCF service: WcfPublicServiceSample.