Client events have been removed due to problems with Angular prod bundle. See issue #29.
If you have used in your project you should remain on beta 6 release. Just remember to turn angular bundler optimization off if you want to bundle your project with --prod option. Also, in this case, please inform me so that I know events were actually used, and I'll consider to reintroduce them.
Export security classes. (commit 4b48395)
Raise error in case of calling a non existing method (commit 77cf177)
Use Angular HttpClient. Observables used wherever possible.
this.soap.createClient('assets/calculator.wsdl').subscribe(client => this.client = client);
(this.client).Add(body).subscribe((res: ISoapMethodResponse) => this.message = res.result.AddResult);
this.client.call('Add', body).subscribe((res: ISoapMethodResponse) => this.message = res.result.AddResult);
Project recreated with Angualr 6 CLI.
...
Call operation with client method.
Web Service operations have no callback anymore. Callback has been replaced by a Promise.
Before:
(client as any).Add(input, (err, wsurl: string, headers: any, xml: string) => ... )
After:
client.operation('Add', body).then((operation: Operation) => ... )
// or
(client as any).Add(body).then((operation: Operation) => ... )
AOT compilation fixes (issue #1)
Initial version