Is there an "easy" way to make SOAP Requests to WSDL with Ionic app?


Hi everyone. I’m remaking a full application for a personal project, but this time I will use Ionic 2.

The problem here is that the Server-side application is an SOAP Web Service and, by now, we don’t want to change that code, so i’ve spent a lot of time searching a library for making a SOAP Client in Angular to retrieve data from server to our application. As you may know we did not have success.

I’ve tried to make Autopulous Angular 2 library ( work in my application but it seems to be out of date.

By now we will try to use pure JQuery ajax requests like this…

import { Injectable } from '@angular/core';
import * as $ from 'jquery';

export class SoapServiceProvider {

  webServiceURL = '';

  constructor() {

  testRequest() {

      url: '',
      type: 'POST',
      data: { CountryName: 'Spain' },
      success: (data) => {
        console.log('Hmmm we had a success response', data);
      error: (err) => {
        console.log('Error :(', err);

I haven’t used JQuery to make requests, so I really don’t know how to make it work.

Any suggestion?


Ionic has a perfectly fine http via Angular, why don’t you use this instead of any jQuery stuff?


Any tutorial or example of how to make it with SOAP WSDL?


No idea, but the example you posted with $.ajax( looks pretty similar to what you would create with http