Solved

Methods and parameters of Web Service at runtime

Posted on 2007-03-23
9
222 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 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

730 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