To run the example project, clone the repo, and run pod install
from the Example directory first.
Xcode 10.0 or later with Swift 5.0
AlamofireSoap is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AlamofireSoap'
import AlamofireSoap
AlamofireSoap.soapRequest("http://www.dneonline.com/calculator.asmx", soapmethod: "Add", soapparameters: ["intA":"1","IntB":"2"], namespace: "http://tempuri.org")
Handling the Response
of a Request
made in Alamofire involves chaining a response handler onto the Request
.
AlamofireSoap.soapRequest("http://www.dneonline.com/calculator.asmx", soapmethod: "Add", soapparameters: ["intA":"1","intB":"2"], namespace: "http://tempuri.org").responseString { response in
print("Request: \(response.value)) // original url request
Shakeeb Mancheri, shakeeb818@gmail.com
AlamofireSoap is available under the MIT license. See the LICENSE file for more info.