Solved

Methods and parameters of Web Service at runtime

Posted on 2007-03-23
9
217 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now