Skip to content

An implementation of the WsdlProvider compatible with netfx and netcore

License

Notifications You must be signed in to change notification settings

d-edge/FSharp.Data.WsdlProvider

 
 

Repository files navigation

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

About

An implementation of the WsdlProvider compatible with netfx and netcore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • F# 99.8%
  • Other 0.2%