Closed AjithAyyappan closed 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).
client undefined
see #90
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).