SOAP: Difference between revisions
Content added Content deleted
No edit summary |
(added F# version) |
||
Line 39: | Line 39: | ||
<cfset result = client.soapFunc("hello")> |
<cfset result = client.soapFunc("hello")> |
||
<cfset result = client.anotherSoapFunc(34234)></lang> |
<cfset result = client.anotherSoapFunc(34234)></lang> |
||
=={{header|F Sharp|F#}}== |
|||
The availability of functions and the type of parameters is checked at compile time. The development environment supports auto-completion and parameter information just like for regular types. |
|||
<lang fsharp>open System |
|||
open System.ServiceModel |
|||
open Microsoft.FSharp.Linq |
|||
open Microsoft.FSharp.Data.TypeProviders |
|||
type Wsdl = WsdlService<"http://example.com/soap/wsdl"> |
|||
let result = Wsdl.soapFunc("hello") |
|||
let result2 = Wsdl.anotherSoapFunc(34234)</lang> |
|||
==Icon and {{header|Unicon}}== |
==Icon and {{header|Unicon}}== |