I'm trying to consume a SOAP Webservice, but the WSDL is kind of broken, so I have to do some customization to node-soap.
The ideal SOAP Envelope that I would like to have would be this one:
I'm trying to create a soap service with node js. It seems like the most common to do this is to use this lib: https://www.npmjs.com/package/soap
They have this snippet:
var myService = {
MyService: {
MyPort: {
MyFunction:…
I'm dealing with a web service that only supports SOAP. Also, I have a NodeJS application, from where I'm supposed to use this service through soap calls.
The biggest problem is, that the Web Service doesn't have a WSDL api description anywhere. So…
How to configure node-soap client set namespace for array not only for objects?
My params for 'sendPatient' method:
params = {
patientCard: {
patient: {
firstName: 'test',
lastName: 'test'
},
…
I'm trying to use an xml web service soap client in node and I'm not sure how to add the soap header for my example.
Looking at strong-soap, there is a method addSoapHeader(value, qname, options) but I'm not sure what I need to pass in as qname and…
I'm receiving the following generic TypeScript error when invoking a SOAP method on a node-soap client in NodeJS. How do I fix it?
https://www.npmjs.com/package/soap - version: 0.35.0
Example Code
const [result] = await…
I need to add an file attachment to a soap request from node.js application.
I am able to send request with node-soap library, and now I need to add a file to the request.
I did it with a java client or with soapUI, but I have to do it in node.js,…
I get a strange error and can't figure out what I am doing wrong. I wrote a graphql mutation to call an api:
domainStuff: async (parent, { command, params }, { models }) => {
console.log("Params:", params);
const result = await dd24Api(command,…
I am trying to connect to bing ads soap api using node-soap. I have created the request as suggested in bing documentation. But each time I try to connect the response states the Invalid credentials (Error code - 105) Message - Authentication…
I'm using Node Soap https://github.com/vpulim/node-soap to send SOAP requests and parse the answers.
Now I've got a service which has a derived type .
How do I specify the…
Specifically does anyone know how I change the namespace from to and similarly attributes to something like soapenv:mustUnderstand="1" ?
My code currently looks something like this:
const soap = require('soap');
const…
I am trying to use node-soap https://github.com/vpulim/node-soap to call a web service but I am having trouble using the module with https.
In the code below I am using http and I can see the functions and log a describe() of the About function.…
I am trying to consume a soap api using node soap. My response cannot be parsed and I wonder how to see the request and response data to console to ease the error finding process.
Im trying to send request to a wdsl with node-soap client
here is my code :
var url = 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl';
soap.createClient(url, function(err, client) {
var today = new Date();
…