total 'out of it' question RRS feed

  • Question

  • User-929021816 posted

    I haven't done any significant dev projects in a couple years... I now have a need to create a web service. Having been 'out of it' for a couple years now I'm not sure which direction I should go...

    - I would like the service to be hosted in IIS, with an https endpoint
    - I'll have some powershell script consumers which would like a SOAP based web service to consume, so they can make use of the wsdl

    would I use 'Web API 2' for this? or is that not for SOAP services? I've written clients that essentially use provided wsdl to consume soap services, so that's what I immediately think of as implementing when faced with doing the server side, the web service itself, but is that even still a wise choice? is soap still being used for new dev?

    obviously, I'm totally not up to date and looking for some general direction on which technology I should even use to begin my project. I would like to use whatever the current recommended technology is, even if that means I'll need to learn something new to ramp up and prepare first.

    any advise would be appreciated.

    Wednesday, July 29, 2015 10:12 AM


All replies

  • User37182867 posted


    Web API is newer but does not support soap it is REST. If you need a soap service then stick with WCF. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 29, 2015 10:18 AM
  • User-929021816 posted
    Thanks deadtroll,

    if soap remains a requirement I will do that then...

    curious, in general is SOAP falling out of favor and REST the more popular choice now?

    also, does REST have a wsdl or something equivalent?

    Wednesday, July 29, 2015 12:10 PM
  • User37182867 posted

    REST is becoming more popular now however the need for SOAP is still relevant. There are powershell API's out to handle either. 

    REST does not have a WSDL, REST is anonymous return. You have to know the return type in order to use it. Web API make it easier for the end use to choose the return format XML or JSON.  

    Here is a link that explains the differences in detail.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 29, 2015 12:38 PM