NetTalk Central
The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Rob Mikkelsen on July 14, 2008, 08:53:47 AM
-
I am just starting to play with a SOAP client and connecting to web services. In some documentation for the web services, I have read that all functions and parameters are made available to IIS when defined. A coworker has stated that using .NET he can obtain a list of all those functions and parameters.
How can obtain a similar list using NetTalk and XFiles? Is it as simple as calling the service without specifying the function that I would like to access?
Rob
-
Hi Rob,
I'm not a SOAP expert, but I believe this is possible yes, with certain services. Diego showed something similar in Oz recently using Clarion#. From what I understand it's a "default" behavior for .Net based services, although not necessarily a standard.
The most obvious way to do something like this with NetTalk is to make a function that returns the information about your service. However if your approach was "the same" then obviously things are compatible, which is good.
Sean has offered to whip up a .Net service for me to try, so I'll post back some results here in a day or so. Obviously if it's nice an consistent then the template could generate this list automatically, which would be quite cool.
Cheers
Bruce
-
Bruce,
I look forward to your findings. In the meanwhile I will beat on a service that has been made available to me to see if there is an intuitive way to obtain this list of functions and parameters.
If I find anything I will share it here.
Rob
-
Any news of this subject?
Thank you,
Mihai PALADE
-
Many Web services are described by the Web Service Description Language. Dot Net has methods to read the WSDL files to determine the service methods, and responses. Here's a good description of the WSDL http://www.w3.org/TR/wsdl
#Dev and VS can read these and produce the stubs for you to call from your code.
Larry Sand
-
> #Dev and VS can read these and produce the stubs for you to call from your code.
What do we have to do, if we want to present our own SOAP/Webservice, written with Nettalk?
How do we produce a WSDL-file to hand out to authors of clients?
Thanks,
Wolfgang
-
Hi,
I have an integration product that now also supports an http interface - using NetTalk web server. I added a procedure called WSDL that returns the wsdl file for any other client that wants to use it. I tried to reproduce my web service methods in VS and use the default wsdl file it produces. But - alas! it's not the same. Seems like I need to get my head around wsdl language.
But the opposite is also true. From a Clarion application it would also be good to read a wsdl file for a service and build a Clarion/NetTalk class that's able to use the web service (in their lingual - to "consume" it).
I haven't spent time on this for months. Would be nice to have something that can do it for me.
Thys