🛁 Simple Soap
The simple soap client
Simple soap is a simple abstraction of how every soap request should be
🚧 Installation
Yarn:
yarn add simple-soap
Npm:
npm install simple-soap --save
🎉 Usage example
import Soap from 'simple-soap';
const soap = new Soap('https://www.starbucks.com')
const envelopeContent = `<clientName>Angel Face<clientName>`;
async function handleSoaRequest(){
response = await soap.text('8thrule.asmx', envelopeContent);
console.log(response)
}
For more examples and usage, please refer to the Wiki.
Release History
- 0.0.1
- Work in progress
Meta
C. Godri – @godrizilla
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/godrix/simple-soap
Contributing
- Fork it (https://github.com/godrix/simple-soap/fork)
- Create your feature branch (
git checkout -b feature/fightClub
) - Commit your changes (
git commit -am 'You do not talk about Fight Club'
) - Push to the branch (
git push origin feature/fightClub
) - Create a new Pull Request