As a relatively new language, Swift's tutorials are few and far between, let alone how to say Swift's tutorial on invoking other frameworks, and today it takes a lot of time to implement Swift call WebService.
First iOS call WebService basically search is OC to implement, about how Swift calls OC please Google, so the question is equal to OC how to call WebService, here to provide you with a very fast website, The Send and parse tool used to generate soap: Http://easywsdl.com/WsdlGenerator
The generated folder contains the imported methods, follow the steps to import.
To invoke in Swift, you first have to introduce a bridging file and then set the parameters according to Swift's syntax, such as the method declaration in the original OC:
-(nsstring*) Getanproblembank: ( int ) In0 __error: (nserror* *) __error;
Called in Swift, it has to be changed to:
Getanproblembank (3, __error: nil)
Swift calls WebService