I’ve downloaded the updated wsdlimp.exe from http://cc.embarcadero.com/Item/24535
What’s the WSDLIMP.EXE command line (which commandline options) to import BasicHttpBinding WSDL into Delphi 7? I tried the basic syntax but the generated pas file won’t even compile!
The command line is simply
No special comman-line options are necessary.
The problem was that the wsdl was specifying wsHttpBinding instead of basicHttpBinding (that’s why it wouldn’t compile in Delphi7).
The wsdl I’d previously posted was an old example that happened to be correct (ie. using basicHttpBinding and WCFExtras single file endpoint behaviour extensions), that’s why Jeroen was able to import it. I cannot provide the real wsdl I’m working with for legal reasons, but suffice to say that once I’d configured the service to use basicHttpBinding instead of wsHttpBinding, and used the single file endpoint behaviour provided by WCFExtras (as described here: How to create a single WSDL file from existing WCF service? ), the wsdl could then be imported successfully into a Delphi 7 project.