Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

delphi-wcf-service-demo

A quick demo for implementing WCF service in Delphi projects.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

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