Re: calling a wsdl and webservice in runtime



ISurfer wrote:
Hi,

We want to give the end user, on runtime, to specify a wsdl file and processed the result our self where we can store, calculate or display the information in a form of the corresponding webservice. For example pointing to some rate conversion or sms webservice and to be able

....

I have not done this before, but this could give you some ideas..

You will need to find a Delphi WSDL parser to get the web service server and methods to consume. (Search Google for 'Delphi WSDL parser')

You can then dynamically set the server of a e.g. ThttpRIO component at runtime, but then override SOAPRequest in the httpRIO OnBeforeExecute event according to the details from the parsed wsdl file. (D7 has a bug so you will need to patch the Delphi 7 source first)

siegfried
.