Delphi 7 WSDL Importer (wsdlimp.exe) has an update that can be downloaded from Embarcadero ID: 24535, Delphi SOAP Runtime and Importer Update
Here are 3 informational articles. Using ASMX web services in Delphi is pretty straightforward, be it Delphi 7 or later.
1. Using C # Web Services with Delphi 7 Professional
2. Delphi 2010 and WCF Clients
3. Introduction to WCF Programming in Delphi
In addition, during development, you can make your web service calls in an attempt other than this block
uses SysUtils, ABCService; // .pas unit generated by WSDLIMP.EXE (WSDL Importer) procedure PerformServiceCall; var MyService: IMyService; MyServiceResponse: TMyServiceResponse; // the result returned from the service call MyServiceRequest: TMyServiceRequest; // the parameter passed with the service call Connected: boolean; begin MyService := nil; try try MyService := IMyService.GetMyService; Connected := (MyService <> nil); if Connected then MyServiceResponse := MyService.MethodName(MyServiceRequest); else raise Exception.Create('Could Not Connect'); except on E: Exception do ShowMessage(E.ClassName +
At this point, we investigate the problems according to ClassName and Message in the exception until we get any exceptions ... then there are other things that we could check (for example, is the service really valid now, addressing, timeouts, performance, security, etc.).
source share