Cannot find name 'xdom2jso' using Angular2-Soap in Ionic

I have a problem using Angular2-Soap in Ionic 2, i installed Angular2-Soap as following
sudo npm install autopulous-angular2-soap

Then in my home.ts {Start Page} i placed the following
import {SoapService} from "autopulous-angular2-soap/src/soap.service";

also in my app.module.ts i placed the following
import {SoapService} from "autopulous-angular2-soap/src/soap.service";

when i run ionic serve i get the following error

[09:55:34] typescript: node_modules/autopulous-angular2-soap/src/soap.service.ts, line: 1 Cannot find name 'xdom2jso'. L1: import convert = xdom2jso.convert; [09:55:34] typescript: node_modules/autopulous-angular2-soap/src/soap.service.ts, line: 1 Cannot find namespace 'xdom2jso'. L1: import convert = xdom2jso.convert; [09:55:34] transpile failed

in node_modules folder i see folders named autopulous-angular2-soap, autopulous-xdom and autopulous-xdom2jso

any help will be appreciated.
Thanks alot.

@pepya2 Please, did you already get a solution?

Thanks!

Not yet!.. @danielantoniobs2

Same problem here =/
Any progress?

I’ve tried to put this code in the index.html

<script src="node_modules/autopulous-angular2-soap/vendor/autopulous-xdom/xdom.js"></script>
<script src="node_modules/autopulous-angular2-soap/vendor/autopulous-xdom2jso/xdom2jso.js"></script>

but now i’m getting a Runtime error void 0 is not a function

It looks to me like this package doesn’t support webpack. There are a couple of open issues filed against it with your error message. I would look for another option.

I have just upgraded the original angular-soap to make it work with typescript and Ionic2, take a look https://github.com/infoxicator/angular2-soap