HTTP with SOAP web service (xml)


#1

I am building an application with ionic 3, in which I must consult a web service SOAP (xml), and I tried it with HTTP: https://ionicframework.com/docs/native/http/
but it does not work just for me, but it works when I call a JSON, but it’s not what I need!
someone help me.
this is the web service that I need to consume:


#2

The question is kinda confusing, can you post the url to the webservice here? are you saying it ss returning XML and not JSON?


#3

You need to convert the XML response to JSON.
You can use something like this - https://www.npmjs.com/package/xml2js