Solved

Methods and parameters of Web Service at runtime

Posted on 2007-03-23
9
219 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add combobox item based on numbers 9 141
Delphi 2 59
How to build JSON File in Delphi 6 3 32
Tvertscrollbox like a whatsapp layout 5 26
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 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