How to import wsdl file in Delphi offline?

I have a web service and an outsourcing company will be using my service. I do not want to open my services on the Internet. I only want to provide the wsdl file for the outsourcing company. They are using Delphi. Is it possible to import wsdl file in Delphi offline?

+2


source to share


2 answers


Yes it is possible Delphi can import a WSDL file stored locally.

In Delphi Win32 go to File-> New -> Others-> Delphi projects-> WebServices-> WSDL Importer

webservices4.jpg

Then you will get a dialog asking you to specify the location of the WSDL file. Delphi generates a module from WSDL with interfaces for classes and objects exposed by the web service. After that, a file is created with the name of the service with the extension ".pas".

webservices5.jpg



In Delphi.Net Go

Project-> Add Web Link Select the file to import and click "Add Link"

Goodbye.

+5


source


Sure!
Just provide them with wsdl as file. The WSDL importer can import from a URL or from a file.



0


source







All Articles