Flurl.Http.Soap 0.1.0

Install-Package Flurl.Http.Soap -Version 0.1.0
dotnet add package Flurl.Http.Soap --version 0.1.0
<PackageReference Include="Flurl.Http.Soap" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Flurl.Http.Soap --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Flurl.Http.Soap, 0.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Flurl.Http.Soap as a Cake Addin
#addin nuget:?package=Flurl.Http.Soap&version=0.1.0

// Install Flurl.Http.Soap as a Cake Tool
#tool nuget:?package=Flurl.Http.Soap&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Icon

Flurl.Http.Soap

Very basic extension for Flurl to support the SOAP protocol.

Important

This is very much a half-baked, early implementation. It currently only implements a ReceiveSoap method, with a simple SoapEnvelope wrapper class.

Usage

string soapXmlString = 
    @"<soap:Envelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"">
        <soap:Body>
            <RequestBody>
                <ApiField>Test</ApiField>
            </RequestBody>
        </soap:Body>
    </soap:Envelope>";

ResponseBody responseBodyContent = await "https://api.url/endpoint"
    .PostXmlAsync(soapXmlString)
    .ReceiveSoap<ResponseBody>();

Thanks

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.0 101 8/7/2021