Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. let soapClient;
  2. const options = { option1: 'something', option2: 'something' }
  3.  
  4. return SoapClient.createClient(options)
  5. .then((client) => {
  6. soapClient = client;
  7. })
  8. .catch((err) => {
  9. throw new Error(err);
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement