lula / ngx-soap

Simple SOAP client for Angular
MIT License
66 stars 61 forks source link

client undefined #89

Closed AjithAyyappan closed 3 years ago

AjithAyyappan commented 3 years ago

constructor(private soap: NgxSoapService, private http: HttpClient) { this.soap.createClient('../../assets/si_soap_rfcService.wsdl') .then(client => { client.setSecurity( new security.BasicAuthSecurity(this.user, this.password, '') ); console.log('client', this.client); this.client = client; }) .catch(err => console.log('Error', err)); }

It not even logs the error in console. It shows client undefined (from console.log function).

lula commented 3 years ago

see #90