Manish
Manish

Reputation: 543

Recognize the type of webservice

I need to implement a client application to consume the services provided by "http://www.fao.org/countryprofiles/webservices/en/". But I am not able to determine whether these are WSDL based services or Rest web services. So how we decide at the client side that what type of services being provided by the server?? Please provide suggestions or helpful links in this regards?

Upvotes: 0

Views: 82

Answers (1)

Santosh
Santosh

Reputation: 17893

If you see the examples given there, its a RESTful web services. For example,

The URL http://www.fao.org/countryprofiles/geoinfo/ws/countryNames/MEX requests the countryNames whose 3 char ISO3 code is MEX

It produces an XML output. Your simplest client will simply invoke this URL and parse the xml received.

Upvotes: 1

Related Questions