Gauls
Gauls

Reputation: 1965

Rest API or Soap webservice

I am unclear about which webservice to use. Within an organisation network a webservice needs to be built to download document (pdf) and XML data.

The service operations are

It is sure that this service is not going to run over https. Can we use rest services(WebAPI 2)/WCF rest 4.0 or it is better to use WCF services (Soap over http) from security and validating XML point of view?

Upvotes: 1

Views: 84

Answers (1)

Gauls
Gauls

Reputation: 1965

After some more reading i guess WCF or WebAPI both can be used. Rest Service has more broad reach as it leverages HTTP protocol. Since the requirement is stateless and doesn't involve transactions WebAPI seems more apt then WCF.

Upvotes: 2

Related Questions