/delphi-wcf-service-demo

A quick demo for implementing WCF service in Delphi projects.

Primary LanguagePascalMIT LicenseMIT

Using WCF Service in Delphi

Purpose

A quick demo for implementing WCF service in Delphi projects.

Project Structure

Solution Name Platform Purpose
ProjectZB.Client Delphi/Pascal Client device application
ProjectZB.Wcf .Net/C# IIS Hosted WCF Service

How to use

Host Wcf Service in your IIS/IISExpress

To use this sample application, you have to deploy Wcf Service solution to IIS Host.

If you have already IIS Express in your Visual Studio IDE, you can just run the app. It will execute WCF Test Client application to you.

Configure Svc Location in your client app

Just copy the given port number and paste it to BasicService.pas line 63 - (defWSDL property) under the ProjectZB.Client project.

Screenshots

Hello World method in Wcf Service

ProjectZB.Client App and WCF Test Client

Client Example in Delphi/Pascal

ProjectZB.Client App and WCF Test Client

Run the client and wcf service.

ProjectZB.Client App and WCF Test Client

I invoked from our client app and wcf test client app.

ProjectZB.Client App and WCF Test Client