This project is read-only.
WsdlService - w3cschools temperature conversion

Category:
TypeProviders.Others
Description: define a WSDL type provider and do temperature conversion from w3cschools web site.
Code:
type T3 = Microsoft.FSharp.Data.TypeProviders.WsdlService< "http://www.w3schools.com/webservices/tempconvert.asmx?WSDL" >

let WsdlSample1() =
let db = T3.GetHttpTempConvertSoapClient()
let a = db.CelsiusToFahrenheit("0")
printfn "%s" a


Execution Result:
32

Last edited Mar 1, 2012 at 8:10 PM by ttliu2000, version 3

Comments

No comments yet.