Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

F# Type Providers and REST apis

Is there any reason why the default plug and play F# type providers to web services is soap based wsdl? Is it because of a lack of formal contracts in REST? Such that each REST api may differ significantly and hence making a general REST provider difficult to provide?

like image 484
cranesbane Avatar asked Sep 18 '11 16:09

cranesbane


2 Answers

Type providers need machine-readable type schema to do their jobs well.

like image 158
Brian Avatar answered Nov 15 '22 10:11

Brian


Type providers need schema. So you could use Open Data Protocol that is REST + schema. For that task you could use ODataTypeProvider that is already implemented.

like image 44
The_Ghost Avatar answered Nov 15 '22 10:11

The_Ghost