Methods and parameters of Web Service at runtime
Posted on 2007-03-23
I'm using Deplhi 7 and W-XP.
I need to obtain the methods and the parameters of a Web Service at runtime.
I know that I can obtain the methods and the parameters from a WSDL and integrate it to my code, but this it is not the case. I need that without being integrated in my code, I can have access to the methods and its parameters given a WSDL direction that is variable.
I mean, I give a WSDL to my program and as result I obtain the methods of the WS and their parameters (and their types. Or all types are String?).
Obvious, the WSDL is a variable that the user choose.
For example, in a Edit I put the WSDL, I push a button and in a memo I recover the methods and the parameters of those methods.
Then, with a certain method and its suitable parameters, I call to the method of the Web service, not to the direction of the WSDL, but to the location of the WS.
It is possible to do this?
It is urgent so, if this is possible, I need code. The points goes for the code.
Thanks in advance!