Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

SoapKit

C# Generic SOAP client.

Using SoapKit

var client = SoapClient.Create("http://www.webservicex.net/globalweather.asmx");
var response = client.GetWeather(
    req =>  
    { 
        req.CountryName = "Spain",
        req.CityName = "Barcelona"
    }
);

Async Example

Using C# await:

var client = SoapClient.Create("http://www.webservicex.net/globalweather.asmx");
var response = await client.GetWeatherAsync(
    req =>  
        { 
            req.CountryName = "Spain",
            req.CityName = "Barcelona"
        }
    );

Using Tasks:

client.GetWeatherAsync(
    req =>  
    { 
        req.CountryName = "Spain",
        req.CityName = "Barcelona"
    })
  .Success(res => res.Print())
  .Failure(ex => { throw ex; } );

About

C# Generic SOAP client

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages