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
0 answers

Node soap server, remove namespace from response

I'm creating a soap server using vpulim/node-soap. Everything works well except one thing. The result of my request is this one :
2
votes
0 answers

How to change defined in WSDL schema Root Element of soap request body, using node-soap

I'm trying to make a SOAP request to external API using node-soap. The Root element inside Body is taken from WSDL schema. Is it possible to change it somehow before request? Here's the client creation and request sending: let client = await…
dvnev
  • 121
  • 8
2
votes
2 answers

Node-Soap - throwing fault in async method

Created a soap api with the node-soap library but when i try to throw a fault using throw { Fault: { Code: { Value: 'soap:Sender', Subcode: { value: 'rpc:BadArguments' } }, Reason: { Text: 'Processing Error' } …
nipek
  • 810
  • 1
  • 9
  • 22
2
votes
1 answer

AWS Lambda node-soap function (serverless framework)

I am testing a call to a SOAP service using node-soap library. This works fine as a standalone node.js app and the SOAP service responds, however when I package the same code up as a serverless AWS lambda function (using serverless framework, but…
jsa2019
  • 23
  • 1
  • 3
2
votes
0 answers

How do I change the HTTP headers of a node-soap server response?

In a node-soap server, how do I change the HTTP headers of a node-soap server response? In a client request, I can add extra HTTP headers like so client.addHttpHeader('User-Agent', `CustomUserAgent`); However, what I need is to change the HTTP…
7hibault
  • 2,371
  • 3
  • 23
  • 33
2
votes
0 answers

How to map SOAP request with SOAP response using node-soap

I use node-soap to manage SOAP requests/responses on server side. I'm using server.log function to log requests and responses and I need to somehow map them (connect) to know which request caused a certain response. See the code sample: function…
Tommz
  • 3,393
  • 7
  • 32
  • 44
2
votes
0 answers

sending the right soap request using node-soap

I'm facing a pretty annoying problem regarding sending soap-requests. If I use a tool like SOAP-UI, i can easily build a proper soap-request in XML. But if I'm trying to use node-soap to send this soap-request I am not able to get the right…
SamSampleman
  • 65
  • 2
  • 8
2
votes
1 answer

Duplicate name space created in soap request using node-soap

I am using the node-soap library for calling soap request in node js. it has following request payload format:
Stark
  • 481
  • 1
  • 9
  • 31
2
votes
1 answer

How do I see the request body with node-soap

I have some sample code that looks like the following: var soap = require('soap'); var url = "http://www.example.com?wsdl"; var soapHeader = "..."; soap.createClient(url, function(err, client){ …
randombits
  • 47,058
  • 76
  • 251
  • 433
2
votes
1 answer

send request to a tls 1.2 web server in node soap

I need to send request to a web server which is TLS 1.2 in node soap any idea how to achieve that?
moein rahimi
  • 774
  • 10
  • 20
2
votes
1 answer

node-soap change namespace of operation

client.lastRequest from the following code is: 0001386669 …
dongx
  • 1,750
  • 4
  • 17
  • 37
2
votes
1 answer

node-soap Including nil values in result

I'm using node-soap to connect to a SOAP API, and calling a query method which returns an array of objects with the fields specified in the request. However, the result object returned by node-soap is missing properties for records where the field…
marktuk
  • 95
  • 2
  • 7
2
votes
0 answers

Integrate node-soap in sails.js

I have a running sails.js application. It mostly uses models and its corresponding controllers with REST blueprint actions. In addition, I need to expose a SOAP endpoint and I ended up using node-soap. All the official examples are coded with…
2
votes
1 answer

Should WSDL have unique namespace for each schema

Is it required that each schema must have a unique namespace in a wsdl? For an example consider the below WSDL snippet which does not have a namespace for the schemas.
prasun
  • 7,073
  • 9
  • 41
  • 59
2
votes
1 answer

node-soap only sending "Help" requests to Mechanical Turk?

I am trying to use node-soap to communicate with Amazon Mechanical Turk. I initialize the soap client with this wsdl but when I try calling client.(...) for any of the operations listed in the Mechanical turk API, I found that the…
vijrox
  • 1,063
  • 1
  • 13
  • 33
1 2
3
10 11