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

Can node-soap handle multiple schemas with different namespaces in a single WSDL?

I am using node-soap to interface with an existing SOAP API. I'm running into a problem with multiple schemas and namespaces that, from what I'm reading, may be a known issue. Here's the setup, I'm interfacing with one WSDL file with two…
jakeorr
  • 381
  • 2
  • 11
4
votes
0 answers

Multi schema XSDs node-soap

This may be on the same lines as this: node-soap multiple import schemas But I coudnt find the fix. I have a WSDL which refers to one XSD and this XSD refers another one. Parent.wsdl --> a.xsd -->b.xsd node-soap is not able to create namespace for…
macwin
  • 53
  • 4
3
votes
0 answers

SOAP request XML elements order (node-soap)

Using node-soap, when making a SOAP call, the XML elements are ordered by the order I write them in the request object (which is not reliable in JavaScript - nor is it maintainable at scale over time). I've read that in some cases the order of the…
ZimGil
  • 877
  • 4
  • 12
3
votes
0 answers

Node-soap with WSDL that imports another WSDL

I have a 2 WSDL files. WSAPIService.wsdl WSAPIServiceContract.wsdl WSAPIService.wsdl references WSAPIServiceContract.wsdl another via an import tag. I was hoping node-soap would automatically…
3
votes
0 answers

Unable to handle soap multipart response in node.js

All i need to do is make a soap service with Node to consume another soap service and return the same response that this service returns. All i was doing at first was setting the body and headers that i got when i consume the service to the new…
3
votes
2 answers

node-soap adding namespace to envelope

I am trying to consume this soap service: http://testws.truckstop.com:8080/v13/Posting/LoadPosting.svc?singleWsdl with node-soap, but the client is mangling the namespaces and I have been unable to find a working solution. I believe the answer is…
Sherman
  • 827
  • 8
  • 16
3
votes
0 answers

node-soap issue, invalid xml

I have spent hours figuring this issue out, but still haven't able to resolve this issue. If I send a request to the API with the same request body using Postman, it works just fine, but in the code it's giving me 'Invalid XML' error. Anyone has any…
Muhammad Saud
  • 356
  • 3
  • 13
3
votes
1 answer

node-soap - How to pass certificates and basic Authorization header with every request?

I am using node-soap lib for SOAP services and using it for first time. I am having requirement that I need to pass both Certificates and Basic Authorization header with every request compulsory. I have implemented my code as follow : var options =…
Rahul Jadav
  • 51
  • 2
  • 4
3
votes
2 answers

Adding attributes to SOAP messages in node.js (node-soap)

Spent the last day banging my head with this, and would appreciate any help! I am building an application which consumes a 3rd party SOAP web service. This is based on node.js and uses node-soap. Unfortunately the WSDL file is a little broken, and I…
Potentiator
  • 43
  • 1
  • 5
3
votes
0 answers

NodeJS Soap request/response

The request or parsing response is incorrect in NodeJS. But it works in PHP. Here is PHP version which works: ini_set("soap.wsdl_cache_enabled", "0"); try { $oWsdl = @new \SoapClient( …
Nikita P
  • 149
  • 5
  • 19
3
votes
0 answers

Node SOAP how to send arguments/parameters with request

I'm making a soap call to a service, but can't figure out how to correctly format and send arguments/parameters for the client.method that I want to use. The client.describe() gives me this: { SysGestAgentApi: { SysGestAgentApiSoapPort: {…
Aaron Marton
  • 131
  • 1
  • 5
3
votes
2 answers

Calling SOAP API through proxy with node-soap client

I am using the node-soap module and it's working fine, except when I am working behind a proxy. I can't manage to find the way to set that proxy so I can request the API. soap.createClient(url, function(err, client) { client.MyFunction(args,…
krakig
  • 1,515
  • 1
  • 19
  • 33
3
votes
1 answer

Modifying SOAP Envelope XML Before Making request

I've been trying to connect to a web service using node-soap but keep on getting the error "Cannot read property 'Body' of undefined". I believe the problem is that the SOAP envelope generated by node-soap is incorrect and needs to use ns1 instead…
Lehan Coetzee
  • 424
  • 2
  • 7
  • 28
2
votes
1 answer

how to edit the response fields in node-soap

I have the following WSDL definition:
Tibebes. M
  • 6,940
  • 5
  • 15
  • 36
2
votes
0 answers

Node-soap - Unable to decoding Gzip encoded response

I am using node-soap library to make some requests on my Nest app. In order to create the client, I am using the following code: const client = await soap.createClientAsync(requestURL, { wsdl_options: { timeout: 600000, …
Isaac Bosca
  • 1,588
  • 1
  • 15
  • 34
1
2
3
10 11