Questions tagged [strong-soap]

strong-soap is node module useful for invoking SOAP based web services. It is rewrite of node-soap previously available node-soap module.

strong-soap module provides a Node.js SOAP client for invoking web services and a mock-up SOAP server capability to create and test your web service. This module is based on node-soap module. Features:

  1. Full SOAP Client capability and mock-up SOAP server capability
  2. Handles both RPC and Document styles
  3. Handles both SOAP 1.1 and SOAP 1.2 Fault
  4. APIs to parse XML into JSON and JSON into XML
  5. API to describe WSDL document
  6. Support for both synchronous and asynchronous method handlers
  7. WS-Security (currently only UsernameToken and PasswordText encoding is supported)
29 questions
6
votes
2 answers

How to consume wsdl webservice through node js

I am using strong-soap node module i want to make call to webservice, I have wsdl file. var soap = require('strong-soap').soap; var WSDL = soap.WSDL; var path = require('path'); var options = {}; WSDL.open('./wsdls/RateService_v22.wsdl',options, …
harish
  • 578
  • 2
  • 8
  • 21
3
votes
1 answer

strong-soap: call service method over https

I am trying to call a SOAP service using the strong-soap node.js library. Although I did set the client security to ClientSSLSecurity, I am getting an error when invoking a method on the client: TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:"…
Rob Gravelle
  • 325
  • 5
  • 23
3
votes
2 answers

Soap client with Node and strong-soap returning error with cerficate

I am using strong-soap (but with node-soap is the same result) node module to connect with soap services. In the first step I am creating the client and trying to connect one method in this case "doLogin" method. My code is: soap.createClient(url,…
oscarGo
  • 43
  • 8
1
vote
1 answer

How to bypass SSL certificate in Gsoap for C++

I have this error for webservice accessment with Gsoap. We are doing test so no SSL certificate check is required. But my client side, how can I bypass SSL check? i'm using C++. My error is SOAP 1.2 fault SOAP-ENV:Sender[no subcode] "OpenSSL not…
batuman
  • 7,066
  • 26
  • 107
  • 229
1
vote
0 answers

Forming an ExecuteSearch Soap action for Filenet

I wrote a nodeJs service and tried to use the strong-soap library to try to ExecuteSearch on IBM Filenet. This is function that I wrote with the arguments to try and execute the search: filenetResponse = await…
1
vote
1 answer

NodeJS : SOAP API calls without creating soap clients before each SOAP method call

I am using strong-soap to call SOAP APIs from NodeJs application. I am able to call soap methods using following code. createClient() { return new Promise((resolve, reject) => { soap.createClient(WYH_URL, this.options, (err: Error,…
Altaf Shaikh
  • 729
  • 8
  • 19
1
vote
1 answer

Is there an equivalent way of doing 'lb soap' programmatically with loopback?

According to documentation on loopback, lb soap creates models of underlying soap based datasource. Is there a programmatic way to do this? I want to do it programmatically to facilitate a dynamic soap consumption through dynamically created models…
Technoshaft
  • 679
  • 6
  • 18
1
vote
1 answer

Simple SOAP call with Node using Strong-Soap

I'm trying to call a simple method created within my SOAP service that returns "Hello, World!". I've been able to successfully call this method using SoapUI, so I know it works. Currently, all that's being printed out is an empty object. I have hit…
CStreet
  • 365
  • 1
  • 5
  • 20
1
vote
1 answer

How do you get the server url to give to the client when using Node-soap or Strong-soap

I am writing a service with node.js' node-soap package. The service seem to run okay when I do "node myService.js". Now, how do I get the url that would be given to the client? If you want my wsdl file, "myservice.wsdl" as per the code below please…
yusha uzumo
  • 211
  • 1
  • 4
  • 15
1
vote
2 answers

Authentication in Node JS soap request

I am using strong-soap (https://www.npmjs.com/package/strong-soap) for consuming wsdl from Node JS I have a wsdl with header like below:-
Dhanya
  • 549
  • 1
  • 6
  • 14
0
votes
1 answer

Strong Soap Node Netsuite Query

I am having awful problems using strong-soap in Node to connect to Netsuite. Below are 2 Soap envelopes. The first one is created in Postman which I am using to debug and works perfectly. The second I got by using the client.lastrequest function in…
0
votes
1 answer

Strong Soap in Node - Connect to Netsuite

I am using strong soap in Node to connect to Netsuite. I have managed to successfully extract the currency data out of Netsuite so I know i have set all the token based authentication up properly and can see it all working in the logs. I am now…
0
votes
0 answers

strong-soap returning undefined property

I've an API i'm currently trying to get the response from. However, it seems to return unidentified although the request seems correct. This is what curl gives that is currently working. curl --location…
Xavier Ong
  • 19
  • 1
0
votes
0 answers

How to intercept and edit XML before request is sent using strong-soap and NestJS (Node)

I am replacing node-soap with strong-soap in an API I am developing. node-soap has a method called postProcess, which allows you to edit the XML request before it is sent. It does not look like strong-soap has this method. Does it have an…
chxpel
  • 141
  • 2
  • 13
0
votes
0 answers

strong-soap return wsdl different from soap

I am having a bit of an issue, and I hope someone may be able to help. Our company is switching from npm soap library to strong-soap for internal reasons. We are interfacing with an old server (soap 1.1) that we prefer not to modify. We can set up…
Tom Lee
  • 11
  • 1
  • 3
1
2