Skip to content

An implementation of the WsdlProvider compatible with netfx and netcore

License

Notifications You must be signed in to change notification settings

thinkbeforecoding/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 nuget.org:

dotnet add .\Client\Client.fsproj package FSharp.Data.WsdlProvider --prerelease

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 6.0 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.9%
  • Other 0.1%