Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

39 lines (20 loc) · 1.12 KB

FSharp.Data.WsdlProvider

This is an implementation of the F# Wsdl type provider that is compatible with netcore and netfx.

It does all the wsdl parsing internally and doesn't require an external tool.

Build and Test

Quickstart

Add the nuget to your project from MyGet:

dotnet add .\Client\Client.fsproj package FSharp.Data.WsdlProvider --prerelease --source https://www.myget.org/F/wsdlprovider/api/v3/index.json

Define a type using the WsdlProvider pointing at you wsdl definition:

open FSharp.Data
type MyService = WsdlProvider<"https://mysite.com/service.wsld">

Call the service:

use client = MyService.ServiceSoapClient("https://mysite.com/service")
let result = client.MyMethod("arg")
printfn "%A" result

Build

To build the type provider, you need only to have dotnet sdk 3.1 installed.

Building on Windows:

.\build.cmd

Binding on Minux/MacOS:

./build.sh