Consuming a web service WSDL... HELP!


#1

I NEED TO CONSUME AN SAP WEB SERVICE, WSDL (XML) WHICH HAS PASSWORD AND USER DOES NOT LIKE TO CONNECT TO ME OR SEND THE PARAMETERS OF AUTHENTICATION
THANKS IN ADVANCE!
IONIC VERSION 3!!!


#2
    let authHeader = 'Basic '+btoa(this.username+':'+this.password);

    let headersObj = new Headers();
    headersObj.append('Authorization', authHeader);


    this.http.get(testURL, {headers:headersObj})
      .map((res:Response) => res.json())
      .subscribe(res => {
        this.webReturn = res;
        console.log(this.webReturn);
      });


#3

I get the following error:


#4
import {Headers, Http} from '@angular/http';


#5

I don’t know the technology you were using but I used PHP CURL to successfully consume SOAP-based web services…

Let me know if you need more pointer on this


#6

Me puedes enviar la informacion por correo Electronico?


#7

Hey Luis.
Please share me full piece of code for consuming service.