ngx-soap icon indicating copy to clipboard operation
ngx-soap copied to clipboard

Property 'subscribe' does not exist on type 'Promise<Client>'.ts(2339)

Open Franweb79 opened this issue 6 years ago • 4 comments

Hi there

Why do I obtain that error when I try to use

  `  this.soap.createClient('assets/calculator.wsdl').subscribe(client => this.client = client);`

Thanks

Franweb79 avatar Mar 04 '19 12:03 Franweb79

The same issue

KaisNeffati avatar Mar 13 '19 09:03 KaisNeffati

I think they forget to change the Readme page , i've just changed .subscribe to then( client => on promise client and it works

KaisNeffati avatar Mar 13 '19 10:03 KaisNeffati

Hello guys! @KaisNeffati is right: readme should be updated. Sorry for that.

lula avatar Mar 13 '19 11:03 lula

Update Please

Arashatami avatar Jun 30 '19 12:06 Arashatami