HyperDev.Connectors.Soap 1.0.0

dotnet add package HyperDev.Connectors.Soap --version 1.0.0
                    
NuGet\Install-Package HyperDev.Connectors.Soap -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HyperDev.Connectors.Soap" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HyperDev.Connectors.Soap" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="HyperDev.Connectors.Soap" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HyperDev.Connectors.Soap --version 1.0.0
                    
#r "nuget: HyperDev.Connectors.Soap, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HyperDev.Connectors.Soap@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HyperDev.Connectors.Soap&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=HyperDev.Connectors.Soap&version=1.0.0
                    
Install as a Cake Tool

HyperDev.Connectors.Soap

SOAP / WCF operations for HyperDev.Connectors: import from WSDL and XSD, execution with JSON input and output.

Import from WSDL

WsdlDescription wsdl = await WsdlDescription.LoadAsync(new Uri("https://example.com/Service.svc?wsdl"), new WsdlResolver(httpClient));

foreach (WsdlOperation op in wsdl.Operations)
    Console.WriteLine($"{op.Service}/{op.Port}/{op.Name}");

WsdlOperation getCustomer = wsdl.GetOperation("GetCustomer");

JsonSchema input = getCustomer.InputSchema;     // the request message as JSON
JsonSchema output = getCustomer.OutputSchema;   // the response message as JSON

SoapOperationDefinition definition = getCustomer.CreateDefinition(endpoint: "customers");

JToken customer = await definition.Compile(environment).ExecuteAsync(new JObject { ["id"] = 7 });

A WSDL is loaded from a file, a stream (with its base address), an address (?wsdl, ?singleWsdl, external wsdl:import and xsd:import) or a DocumentSet (several files or a zip, without network). XSD types and WCF DataContract become JSON Schema: primitive types with their limits and formats (date, time, duration), arrays, nillable, extensions, recursive types, choice as optional alternatives; faults have their detail schema.

The request is generated from the model of the WSDL (optional elements omitted, xsi:nil for nulls, namespaces respected) or written as an XML template with {{parameter}}; the response is read back as JSON. Names of attributes and texts are FEEL-friendly by default (jsonNames: underscore: _code, _text); symbols gives @code and #text. SOAP 1.1 and 1.2, WS-Addressing.

The resource

{
  "soap": {
    "customers": {
      "address": "https://example.com/Service.svc",
      "httpHeaders": { "X-Api-Key": "${env:API_KEY}" },
      "header": "<Identity xmlns=\"urn:example\"><AppKey>${var:appKey}</AppKey></Identity>",
      "authentication": { "type": "windows" }
    }
  }
}

header is the XML written in soap:Header of every request (only {{$messageId}} as placeholder); headerValues gives the values of the typed headers declared by the WSDL. Authentication as for REST (basic, bearer, API keys, windows, clientCredentials, jwt), with TLS and proxy settings.

A fault is an OperationException with Reason fault.service, the fault code in Code and the detail in Detail.

Target frameworks: net8.0, net10.0.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HyperDev.Connectors.Soap:

Package Downloads
HyperDev.Connectors.Editor

HyperDev Fatum Framework: server side of the connector editor (@wemake4u/connector-editor)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 118 11/20/2026