Why is there no WSDL type support for Web Api?

So I am just getting started with .Net WebApi and one thing that I am noticing straight away is that there is no Contract defining how the Api looks and should be consumed (Request/Responses from each Action), this is usually in the form of a WSDL for WCF/Soap.
It seems to me like this is something that would be very valuable and make life a lot easier for consumers of your Api.
Is there a reason there isn't one? Is there a programming paradime or principle that I am unaware of? Is there a way I could create one?

SOAP, REST AND PEOPLE'S CREATIVITY
SOAP needs a description document like WSDL because each resource can be consumed with different messages, there are no definition on the protocol about constraints to the possible names/messages that you can manipulate a resource.
For example, in SOAP your web service that allow clients manipulate an user can expose the operation that create an user in many different messages, like:
addUser
createUser
insertUser
Of course, these are just few sample messages, because I've see a lot of funny web services method names. There are really creative people out there.
In other hand, if you are exposing your underlying system using web api that really respect the REST principles, the client just need to know that you have a resource named Users, because there is 99% of chance that you can create an user in this way
POST /Users
And this occurs for each operation you want to expose using SOAP or a web api REST.
Despite being SOAP a protocol, which restricts what you can or can not do, and be REST a style architecture, which leaves many open points of how to do things. There are efforts to define conventions of how to expose and consume REST web apis.
DESCRIBING A WEB API REST
In the field of how to describe a web api REST I can cite
Swagger. It is not a attempt to create a WSDL like to web api REST, but it is a good attempt to create an open standard for describing web apis REST.
Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services.
I use Swagger a lot and really love it, mainly because
Swagger UI that allow you generate a nice live console and documentation for your web api.
There are many implementations of Swagger for most of languages: C#, Java, Python, Ruby, etc.
If you are using ASP .NET Web API, there a some projects to auto generate the Swagger specification, like
Swagger.NET
GENERATING CLIENTS TO A WEB API REST
Because the constraints of REST, like the limited set of verbs (GET, POST, PUT, DELETE, etc) is not so difficuty to generate a client library to a web api REST.
Projects like
WebApiProxy can easily generate clients do C# and Javascript.
CONVENTIONS FOR WEB API REST
To keep our lifes as developers easier is good define some conventions of how our web api REST will behave, the best effort I know in this field is the very good
Apigee - Web Api Design ebook. The e-book is not an attempt to create a bible or a mantra about how to design your api, but rather a collection of conventions observed in large web REST apis, like Twitter, Facebook, Linkedin, Google, etc.

Similar Messages

  • Why is there no Boot Camp support for the 64-bit version of Windows 7 on the 64-bit iMac that I'm using?

    The early 2008 24" iMac 8,1 has a 2.8 ghz E8235 Intel Core 2 Duo processor with a data width of 64-bits.
    I am straining badly to understand why Apple is only providing drivers for the 32-bit version of Windows 7 for the 64-bit hardware that I want to install it on.

    The 64 bit drivers are there, but there have been some installation
    issues depending on Windows OS and Apple hardware.  You may
    want to post on the Bootcamp forum to get more direct response to
    your issue.
    FWIW, at one point, I forget when, I found I needed to manually
    open the 64 bit versions of the drivers to install them that were created
    on the bootcamp driver install disk (image).  As I recall the was a
    64 bit .msi "global" installer but even at that there was an individual
    one that needed to be manually installed.
    Its been a while since I last did this since I have been doing everything
    in Windows virtual machines with Parallels.

  • Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    If there is I can not find it - Google provides a list of possible methods form Adobe and others
    LN

  • Why is there no Adobe Shape CC for Android?

    Android is the majority of the smart phone market share. Why is there no Adobe Shape CC for Android? Is the app for Android in development?

    It's pathetic that Adobe has not to my knowledge stepped forward to even address this for those of us paying.  I firmly believe Android users should receive $10 off minimum their subscription price since we don't have full access to the service.  People have been begging for over a year now to have the Apple Apps converted and used for Android systems.. Especially since Android as so many have pointed out, is the majority of the market.  Adobe is dropping the ball big time, and at least acknowledging that we have asked this question over and over and letting us know WHY, we might be a little more forgiving.  Why, why, WHY?!

  • Why is there no Verizon Interactive Simulator for my iPhone 5s?

    Why is there no Verizon Interactive Simulator for my iPhone 5s?  The Verizon page for obtaining a Verizon hotspot is available for all phones except Apple, why?

        Captfrog-
    I understand the importance of interactive simulators because they are so useful when learning tips and tricks about the phones.  I apologize we don't have one listed on our page for the iPhone 5s, but here is a link so you can get more information online http://bit.ly/1bRR5ss .  Have a great rest of your day!
    EmmaM_VZW
    Follow us on Twitter at @VZWSupport

  • Why is there no Capture Pilot equivalent for Lightroom?

    Why is there no Capture Pilot equivalent for Lightroom?

    Nothing like it that I know of
    But I just +1 the idea here: Capture Pilot equivalent for LightRoom? on Adobes feedback site & suggest you do too!

  • HT5691 Why can't I purchase applecare support for my iphone5 that was bought from ATT?

    Why can't I purchase applecare support for my iphone5 that was bought from ATT?

    not online like I usually do.
    when I enter the serial number, it shows standard warranty with no option to purchase exended applecare+

  • Is there any in build support for CCD C32 document in JCAPS

    Hi,
    Is there any in build support for CCD C32 document in JCAPS? I tried to find a lot, but could not.
    Please let me know if anyone has done this before.
    Thanks,
    Bhushan

    Hi soo.richard,
    You say it could be intruders cutting in - same problem/solution as for any network I think. Access can be password protected or access limited via MAC address filtering. I'm not sure how Apple Tv works with a hidden SSID but that would be another option.
    Airplay itself can be password protected through the airplay settings.
    I'm not sure if Apple TV works with other authentication such as a password but maybe the manual will assist with this?
    Hope this helps.

  • Will the standard iPad case fit the the iPad Air or is there a specific type case for the iPad Air?

    Will the standard iPad case fit the the iPad Air or is there a specific type case for the iPad Air?

    The air is different dimensions from other iPads, so look for cases made specifically for it. I know that Targus has some, so does Zagg and i'm sure other manufacturers do as well.

  • Why are there virtually no mobile apps for the Android operating system?

    I am trying to find mobile apps for my android tablet. Why are there virtually no mobile apps for this system?

    Adobe's attitude is not only incredibly insulting and ignorant, it is also short-sighted, particularly considering the top android handsets would actually allow their apps to be more flexible and powerful as they have more RAM at their disposal and the very popular Galaxy Note series would be a perfect device with its integral stylus. This is not acceptable and makes me reconsider staying with my CC subscription. I guess it is time to start looking for adobe alternatives or at the very least demand a discount in our subscription as we are unable to use a large chunk of the subscription portfolio.

  • Built-in support for web streaming camera?

    Hi,
    I have a Sony MiniDV camcorder that supports web streaming.
    Is there any built-in software support for web streaming?
    If not, could someone please recommend software that will allow me to setup my camera in my house and view the streamed data over the internet?
    Thanks!!
    BT

    You can download Quicktime broadcaster for free to do this. See http://www.apple.com/quicktime/broadcaster/
    We've used it to stream a live event from an art gallery and then to a Quicktime Streaming Server (available free in the Darwin version) to broadcast to the world.
    Dave
    PowerBok G4 1.25G RAM, 1GHz   Mac OS X (10.4.5)  

  • Does Websphere(WAS) V3.5 has support for web services ??

    Hi all,
    Please let me know whether Websphere Application Server V3.5 supports Web Services. If any one has used it for V3.5 then please let me know.
    Thanks
    -Satyendra

    I suppose not, as out of the box.
    If you look into the classpath and the lib directories, there are no traces of any support for Web-Services.
    However, you can set up the environment to do so, It seems to be easy to handle.
    Cheers, and keep posting your progress.

  • Support for Web Designers

    Hi, I'm thinking of using BC for a new web development business and want to ensure that the support will be in place to help out. Anyone with wny experience with thisi

    Hello!
    I see that your message ended rather abruptly, but I can still make out some concerns regarding the Business Catalyst platform and its support for Web Designers. I could point you to these blog articles:
    http://www.businesscatalyst.com/bc-blog/revamping-the-business-catalyst-partner-program
    http://www.businesscatalyst.com/bc-blog/open-platform-a-new-chapter-for-online-business
    http://www.businesscatalyst.com/bc-blog/say-hello-to-the-business-catalyst-open-platform
    These articles describe the latest major improvements in our platform. The new set of modern, responsive templates and the open platform are the major highlights. We've essentially offered better tools for developers and designers to deliver a better experience to their customers. In terms of customer support, as a partner, you benefit from:
    - a solid community on the forums, where experienced BC users have more than often already replied to any questions you may have about the development process
    - the live chat channel, where you can get real-time assistance with issues on any areas of the platform, from platform-login to pushing sites live
    - ticketing system so any problems that may occur can be escalated all the way to engineering in order to be addressed
    - a new documentation ( docs.businesscatalyst.com )
    I meant to touch base on general areas of interest here, I assume your full question may have been more specific, so please feel free to reply, I'll be glad to further advise.
    Kind Regards,
    Alex

  • Why is there inconsistencies between columns shown for FieldManagment and WSDL

    Hi all, Oracle Applications 768445
    Any known reasons, why the fields shown for FieldManagement Api is different from the fields shown by WSDL for Oracle CRM record types?
    For example: activity record types, the WSDL exports fields that does not exist in the FieldManagement administrative API

    Thanks Cjmurray-Oracle, for looking into this.
    Am part of a development team, integrating Oracle CRMOD to another warehouse using Oracle Web Services  Guide Version 14.0(Release 26) as basis, Under the administrative service API calls- FieldManagement method(Page 241), using the method will allow extraction of field management configuration data for an object, however the list of fields shown through this method is different from the list of fields shown when using the Generic WSDL(page 46) in access the object. this is an issue because if there is difference in the fields shown by FieldManagent method and WSDL for an object. important custom/standard fields can be omitted. I hope this make sense.
    Or can you recommend another space to post this question?
    Thanks again.

  • Why does MSI P4N have no support for Intel Preslor and Asus Nforce 4 does??

    Well as you've probably guessed it im new to the forums (howdy all  ). I currently own a MSI P4N diamond motherboard and quite frankly i most dissapointed with what has been called (by too many reviewers) a great board.
    First off i see very little changes taking place with each bios update, of which does not seem to happen regularly at all. (lets face it no board is perfect especially the Nforce 4 range from MSI for Intel CPU's).
    Secondly overclocking a Pentium D 830, which i may add should be capable of overclocking very well on an Intel Nforce board, can barley reach 3.4 Ghz (i know its mobo issue as the CPU is water cooled and overclocks to way beyond 3.7 on an 955X board).
    Thirdly the North bridge fan was poorly stuck on my motherboard in that on installing my motherboard into my case it popped off like the lid of a pringles tub by a slight movement of my hand  .
    And last but least... why does the MSI P4N diamond motherboard not support Intels latest 65nm CPU's when ASUS's and Gigabyte's Nforce 4 motherboards work well with the Pentium D and the 65nm range of Intel CPU's. Upon also reading about the next gen of Intel CPU's the Conroe, the 975X motherboards will support the future CPU via a bios update and it has been said that the same is likely to happen for the Nforce 4 range... however once again due to the lack of support for the MSI P4N diamond by MSI i believe all of us owners of this pathetic (an over statement really but its going to be that way if MSI keeps this up) over hyped motherboard will get a simple NO in the CPU support table for the next gen range of CPU's.   
     

    Where did you get the information regarding the MSI P4N diamond's release date?
    Are you in the United Kingdom? As it was released at the same time as the other Nforce 4 boards here (i was on the edge of my seat waiting for the Nforce boards to be released on overclockers.co.uk for sale) In the end though i bought my mothreboard in October, which is a good few weeks after release.
    Is there any kind of SLI 32 on MSI's plans? this is what worries me as they have made a move in the 975X department but have not made any further developmentes in the Nforce range for Intel, which to the average joe kind of indicates loss of intrest in this field from the company.
    I am overall pleased with my motherboard, when using a single core CPU, as overclocking was a sheer joy, but as soon as the dual core CPU went in the mothreboard behaves like a drunk man coming from a pub. I am aware that the Nforce 4 chipsets struggle with the dual core CPU's but surely Nvidia were informed by Intel about the dual core CPU's being released in the future.

Maybe you are looking for

  • LinkToAction Image not displaying in NWDS

    Hi, I am on NWDS version Version: 2.0.14. My imageSource file (abc.gif) associated with each LinkToAction type element displays fine in execution mode.  However, the image does not display in NWDS.  All I see is a blank in the layout where the link i

  • Re: URGENT: - REGARDING FIELD IN TABLES

    HI I am using transaction code MB5B and i am getting d data but i want to search d field among d tables where amount in currency field(dmbtr) present in bsim or bseg table ,but i want to have dat field which use to display d calculation of d field (d

  • Payment of withholding tax

    Hi Made down payment to vendor - TDS is deducted Made MIRO - TDS is deducted on entire bill once again Made clear down payment -  (Debit to TDS payble account) Trying to make TDS payment to government through Remit challan (Net off TDS on entire bill

  • NBA League Pass video stutter

    I recently purchased a new computer (AsRock e350m1 motherboard with 2GB RAM) mostly for high quality video (both streaming and video files). I have no problem with HD video files and even 1080p youtube videos but NBA League Pass high quality video st

  • How to e-mail discoverer reports on scheduled timings

    want to send discoverer reports to customers through e-mail,does discoverer provides any utility that does without manual intervention.It should be happened at scheduled timings.