Perform the following steps:
- Navigate to Delphi Project | Web Broker | Web Server Application.
- Now, the wizard will ask you what type of web server application you want to create. This demo will be built as a console application, so select the standalone console application and click Next.
- The wizard proposes a TCP port where the service will listen. Click on the Test port; if the test port succeeds, use it, otherwise change the port until the test passes. In this recipe, port 8080 is used.
- Click Finish.
- Save all. Name the project SMSServerManager.dproj and the WebModule WebModuleU.pas.
- We will start from the business object classes. This web service will manage SMS, so let's create a new unit and declare the following class: ...