Questions tagged [node-soap]

noad-soap is a SOAP client and server for node.js.

node-soap is a SOAP client and server for node.js.

https://github.com/vpulim/node-soap

152 questions
2
votes
1 answer

Implementing WSSecurity with X509 Certificate npm 'Soap'

part 1 of question: Using npm soap, I am trying to make a soap call to the below endpoint var url. var sslRootCAs = require('ssl-root-cas/latest') sslRootCAs.inject(); var soap = require('soap'); var url =…
Balu M
  • 157
  • 13
2
votes
0 answers

node-soap request is sending null parameters

I've been trying to use node-soap library for nodejs to consume a soap service but when i send my request the response from the service is that flightNumber in my request is null. I Also tried sending the same request that works for me in soap UI in…
user2018726
  • 638
  • 2
  • 12
  • 23
2
votes
0 answers

Using node-soap: Getting ECONNREFUSED when passing arguments to a method

I'm using node-soap to communicate with web services, but i can't get it to work. The code as it is below throws the error ECONNREFUSED. But if i don't put the args variable in the function I get a response. Does anyone know what can it be? var…
peporro
  • 83
  • 7
2
votes
0 answers

Invalid WSDL URL: on node-soap

I'm fairly new to web services and I need to consume one from a soap service. var soap = require('soap'); var url = 'http://remoteweb/ws/service1.asmx?wsdl'; var args = { id: '2010-xxxxx', user: 'aaa', pass:…
Daniel Sh.
  • 2,078
  • 5
  • 42
  • 67
2
votes
3 answers

Send a request with arrays in Node-soap (node.js)

I am communicating to a web service using nodejs and node-soap. But i just can't seem to get the syntax right for passing the parameters to the service. The documentation says i need to send an array with the field uuid and its value. Here is the…
NicolasZ
  • 845
  • 4
  • 10
  • 26
2
votes
1 answer

Node-soap client.describe()?

I have tried to consume a web service by using local WSDL file. There are two WDSLs that I have used. GDSQueue.wsdl GDSQueueAbstract.wsdl The first one, GDSQueue.wsdl imports GDSQueueAbstract.wsdl. But in node-soap, when I use client.describe(),…
yunus kula
  • 859
  • 3
  • 10
  • 31
1
vote
0 answers

Nodejs Soap Client - ETIMEDOUT to Soap webservice with https

I am trying to create a Soap Client in my NodeJs application to call API to SOAP web service with url: https://example.com/service?wsdl If its a soap webservice then I get the below error. It would be really great if you guys could guide me in the…
TanLuan
  • 11
  • 1
1
vote
0 answers

node-soap Signature not populating

We are trying to set up node-soap using the WSSecurityCertificate as detailed here. We were expecting the signature to be generated, but it just says 'Signature'. The BinarySecurityToken looks to be generated correctly. Looking around online shows…
Justin Pfenning
  • 433
  • 1
  • 5
  • 18
1
vote
0 answers

Node.js Soap method params parsed as string instead of related object

I'm using node-soap to consume a WebService. I've used this library and consumed this service many times before, but this time I'm having the following situation. I create the client using the WSDL that contains the methods, inputs etc: const soap =…
1
vote
0 answers

SOAP XML Encrypt and Signature with node-soap module

I'm trying to make a SOAP request to a WSDL service with ws-security. The code is simple: var fs = require('fs'); var soap = require('soap'); var url = ''; var args = { "param1": '1', "param2": '2', "param3": '3', …
LandL
  • 35
  • 4
1
vote
0 answers

Incorrect root element and customizing the namespace using soap client

I am using node soap client for calling a SOAP webservice from Node js script I have couple of issues I am getting the below error from server( after request submit ) where the root element is not as per the WSDL document. Looks like it is picking…
user91604
  • 83
  • 1
  • 6
1
vote
0 answers

How to create NTLM Token in Node.js?

I am trying to access a wsdl which is password protected and uses ntlm authentication strategy. var wsdl_options= { ntlm: true, username: "Username", password: "Password", domain:'domain' } I am using node-soap but it isn't working I am…
Nitin Khare
  • 147
  • 2
  • 10
1
vote
1 answer

Provide httpClient to node-soap

I am trying to set the maxSockets on the request and send this to node-soap when creating the client. The transactions work well without this. I tried adding it through the httpAgent but once the maxSockets property is added I got a socket hang up…
rasfuranku
  • 78
  • 1
  • 1
  • 10
1
vote
1 answer

Node.js: Does Anyone Have a Non-trivial node-soap Client Example?

I'm asking this question just so I can answer it. Here's a second, dummy line so that the question-that's-not-really-a-question makes it past the auto-filter.
Mike Waldron
  • 334
  • 2
  • 10
1
vote
0 answers

How to Consume (SOAP) web service through NODEJS?

I am fairly new to nodejs, but i have some working experience in APIs, I can work with REST. But SOAP is a bit tricky. I would like to consume a SOAP web service through nodejs. I am using soap-npm In my server.js file i have the following script…