I have imported the packages below into my service, which I use to process the SOAP API.
"autopulous-xdom": "~0.0.12"
"autopulous-xdom2jso": "^0.0.12"
I am trying to use them with the bottom lines at the top of my service.ts
import 'autopulous-xdom/xdom.js';
import 'autopulous-xdom2jso/xdom2jso.js';
import convert = xdom2jso.convert;
import {Injectable} from '@angular/core';
@Injectable()
export class SoapService {
constructor() {}
}
I have no errors compiling and creating. But when I run the application in the browser, I get below errors.

Has anyone worked with xdom2jso and xdom ? Please, help.
source
share