Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Methods and parameters of Web Service at runtime

Posted on 2007-03-23
9
Medium Priority
?
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
9 Comments
 

Author Comment

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

Accepted Solution

by:
Wim ten Brink earned 1500 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

671 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