Solved

Methods and parameters of Web Service at runtime

Posted on 2007-03-23
9
220 Views
Last Modified: 2013-11-23
Hi Experts!

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!
0
Comment
Question by:Desarrollo_Intelisis
  • 5
9 Comments
 

Author Comment

by:Desarrollo_Intelisis
ID: 18801520
Is anybody there?  :(
0
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 500 total points
ID: 18814938
Yes, someone is here. :-)

What you want is possible yet also very complex. The Delphi code would need to parse the WSDL and analyze it. The code you're asking for could easily grow to around 5,000 to 10,000 lines of code.
0
 

Author Comment

by:Desarrollo_Intelisis
ID: 18816987
Somebody knows if some VCL component (or something similar) exists that does this? Something of third parts?
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:Desarrollo_Intelisis
ID: 18875942
So, nobody has an answer?
0
 

Author Comment

by:Desarrollo_Intelisis
ID: 18892456
Vee_Mod:

Ok. I asked if is possible. My mistake. But also I said: "It is urgent so, if this is possible, I need code. The points goes for the code"

So, maybe, the right answer is: Not possible for free.

But there is no problem. If you suggest I must give the points, I do not have any problem in giving them. Really. Nevertheless, I am still without solving my urgent problem.
0
 

Author Comment

by:Desarrollo_Intelisis
ID: 18894249
Ok. I'll wait.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question