1.0.10 • Published 5 years ago
hd-soap-service v1.0.10
hd-soap-service
This is an angular package that helps HanelDev, LLC communicate with WSDL SOAP packages across the internet.
Usage
First, install the package using npm:
npm install hd-soap-service --save
Once you have it installed, within your module's constructor, you must configure the service by defining the following:
import { HdSoapService } from 'hd-soap-service';
...
constructor(
public soap: HdSoapService
) {
// Configure SOAP service
this.soap.host = 'www.my-urlhost.com';
// this.soap.port = 80;
this.soap.pathToAsmx = '/my/url/path/to/service.asmx';
this.soap.namespace = 'http://soap.namespace.my-url.com/';
}
Now you can use the service from any other component within this module.
License
GPL-3.0