wsdlprovider - FSharp.Data.WsdlProvider 0.7.0-alpha

This is a type provider to generate clients for soap services from wsdl.

PM> Install-Package FSharp.Data.WsdlProvider -Version 0.7.0-alpha -Source https://www.myget.org/F/wsdlprovider/api/v3/index.json

Copy to clipboard

> nuget.exe install FSharp.Data.WsdlProvider -Version 0.7.0-alpha -Source https://www.myget.org/F/wsdlprovider/api/v3/index.json

Copy to clipboard

> dotnet add package FSharp.Data.WsdlProvider --version 0.7.0-alpha --source https://www.myget.org/F/wsdlprovider/api/v3/index.json

Copy to clipboard
<PackageReference Include="FSharp.Data.WsdlProvider" Version="0.7.0-alpha" />
Copy to clipboard
source https://www.myget.org/F/wsdlprovider/api/v3/index.json

nuget FSharp.Data.WsdlProvider  ~> 0.7.0-alpha
Copy to clipboard

> choco install FSharp.Data.WsdlProvider --version 0.7.0-alpha --source https://www.myget.org/F/wsdlprovider/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "wsdlprovider" -SourceLocation "https://www.myget.org/F/wsdlprovider/api/v2"
Install-Module -Name "FSharp.Data.WsdlProvider" -RequiredVersion "0.7.0-alpha" -Repository "wsdlprovider" -AllowPreRelease
Copy to clipboard

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
  • Any 0.0
    • FSharp.Core (>= 4.7.2)
    • System.ServiceModel.Duplex (>= 4.7.0)
    • System.ServiceModel.Http (>= 4.7.0)
  • .NETStandard 2.0: 2.0.0.0

Owners

thinkbeforecoding

Authors

Jeremie Chassaing

Project URL

https://github.com/thinkbeforecoding/FSharp.Data.WsdlProvider

License

Apache-2.0

Tags

F# fsharp typeproviders FSharp.Data.WsdlProvider wsdl

Info

13 total downloads
0 downloads for version 0.7.0-alpha
Download (3.08 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
0.7.0-alpha 3.08 MB Thu, 22 Oct 2020 09:35:32 GMT 0
0.6.0-alpha 3.08 MB Tue, 20 Oct 2020 14:51:54 GMT 0
0.5.0-alpha 6.73 MB Thu, 19 Mar 2020 12:22:58 GMT 8
0.4.0-alpha 6.73 MB Fri, 13 Mar 2020 17:56:56 GMT 3
0.3.0-alpha 6.71 MB Wed, 11 Mar 2020 10:14:03 GMT 2