What's the equivalent of Web.Services.Discovery for a REST service?

robertb_NZ

Well-known member
Joined
May 11, 2010
Messages
146
Location
Auckland, New Zealand
Programming Experience
10+
When I need to discover the description of a SOAP (WSDL) service I have been using Web.Services.Discovery. For example
VB.NET:
        Dim Disco As New Web.Services.Discovery.DiscoveryClientProtocol
        Try
            Dim Doc As DiscoveryDocument
            Doc = Disco.DiscoverAny(WSDLFile)
            Disco.ResolveAll()
            ...
What is the equivalent for a REST(JSON) service?

Thank you, Robert.
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,545
Location
Norway
Programming Experience
10+
From what I read around it doesn't exist. Read about rest/wdsl/wadl.
 

robertb_NZ

Well-known member
Joined
May 11, 2010
Messages
146
Location
Auckland, New Zealand
Programming Experience
10+
Thank you, I'll follow up those topics, also json and swagger.

With a SOAP service you can add ?WSDL to the URL and the service will provide its WSDL description. Is there an equivalent convention for REST services? My reading so far suggests that adding .json will often (but not always) work with a REST service that follows swagger standards.
 
Top Bottom