FileNewOtherDelphi ProjectsWebServicesSOAP Server Interface
Use this dialog box to generate a new unit that declares a invokable interface and its implementation class. The interface descends from IInvokable, and the implementation class from TInvokableClass. It also generates the code to register the interface and implementation class with the invocation registry. After exiting the wizard, edit the generated interface and class definitions, adding in the properties and methods you want to expose as your Web Service.
Item |
Description |
Service name |
Enter the name of the invokable interface (port type) that your Web Service application exposes to clients. This name is used as the name of the interface. It is also used to generate the name of the implementation class. For example, if you enter MyWebService, the wizard generates the definition of an invokable interface named MyWebService, and an implementation class named TMyWebServiceImpl. |
Unit identifier |
Enter the name of the unit that the wizard should create to contain the interface and implementation class definitions. |
Generate comments |
Adds comments to the unit that it generates telling you what the generated code does. |
Generate sample methods |
Adds comments to the unit that show sample code similar to the code you should add to define and implement your invokable interface and implementation class. |
Service activation model |
Select the activation model you want from the drop-down list: Per Request creates a new instance of your implementation class in response to each request it receives. That instance is freed after the request is handled. Global Object creates a single instance of your implementation class, which is used to handle all requests. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|