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

SOAP Request Error using Strong Soap npm package with Nodejs

When I try with soap ui or axios everything is working fine but I try to make a request using strong-soap I got the following error. try { let url = 'http://10.254.173.170:7800/GetInfoFin/GetInfoFin?wsdl'; let args = { "Username": "CRM",…
0
votes
1 answer

Return a value in a inner function on strong-soap

I am working with soap in Node typescript. I want to return a boolean after performing a soap request to the server in the strong-soap package. The code looks like: public isSupplierBalance(debtorAccount: number): boolean { let economicToken…
Patrick Vibild
  • 405
  • 1
  • 3
  • 16
0
votes
1 answer

SOAP 1.2 fault SOAP-ENV:Sender[no subcode]

Accessing IIS webservice using Gsoap. I have similar error as in this link shows that the error was solved compiling with -lssl. I did the same thing in build as g++ -o client client.cpp stdsoap2.cpp soapC.cpp soapDataManagementSoapProxy.cpp -I…
batuman
  • 7,066
  • 26
  • 107
  • 229
0
votes
0 answers

Webservice interface using GSOAP

I am trying to get response from webservice using Gsoap. SoapProxy.h has a class class SOAP_CMAC DataManagementSoapProxy : public soap { public: /// Endpoint URL of service 'DataManagementSoapProxy' (change as needed) const…
batuman
  • 7,066
  • 26
  • 107
  • 229
0
votes
1 answer

'Cannot read property methodName of undefined' consuming a NodeJS SOAP method with document style

I have a NodeJS (node-soap) SOAP web service and it works good with rpc style when I consume it by POSTMAN, but I need to make it works with document style. When I change the style I have an exception with no much information. Next details: WSDL…
CarlosS
  • 161
  • 1
  • 13
0
votes
1 answer

NodeJS Soap service - Return synchronous response client

I am hosting Soap server in NodeJS via 'strong-soap' library. I followed the standard example given in the official documentation here: strong-soap It works fine when I send back a response immediately. However, my implementation of the web service…
Ranjeeth Rao
  • 155
  • 1
  • 10
0
votes
1 answer

LoopBack 4: Adding type attribute to an element in a SOAP request

I'm using LoopBack 4 to access a third party SOAP API and am having difficulty getting a specific SOAP call to work. The documentation doesn't appear to cover this scenario. Relevant parts of WSDL:
Pilot_51
  • 7,337
  • 3
  • 29
  • 26
0
votes
1 answer

NODEJS SOAP: Object reference not set to an instance of an object

I got an error: Object reference not set to an instance of an object I'm missing something here in the request, but couldn't figure it out. Any help is appreciated. I tried using soap module as well as strong-soap module, but the same error…
Sanjay
  • 1,595
  • 1
  • 17
  • 29
0
votes
0 answers

nodejs - SOAP call is failing with 500 error using npm package strong soap

I am trying utilize the npm strong-soap package to execute a SOAP call in nodejs. I am getting an error as below (first few lines of error is below) "statusCode":500,"body":"\n
GCTian
  • 1
  • 3
0
votes
1 answer

Using Strong-soap node module, It is not adding namespace to the attributes of the elements

Using Strong-soap node module, It is not adding namespace to the attributes of the elements and due to which I am getting error -Invalid Attribute.
Bhavna
  • 29
  • 5
0
votes
1 answer

XML Request from strong-soap

I am using strong-soap, and it is working well. How do I locate the request and response XML that strong-soap has generated? I would like to review and possibly log the XML, so that I can use the converted XML while testing the WSDL directly.
Bibble
  • 103
  • 1
  • 11
0
votes
2 answers

How to stub SOAP client request with sinon in Node JS?

I am using strong-soap module to get data from SOAP request. var soap = require('strong-soap').soap; soap.createClient(url, options, function (err, client) { var method = client.GetInfoSOAP; method(requestQuery, function (err, info) { …
s__k
  • 41
  • 1
  • 7
0
votes
1 answer

I want to convert attributes to elements in Strong-SOAP xmlToJson

I'm using strong-soap node.js module to convert XML string to JSON string: xmlHandler.xmlToJson() but XML from SOAP have in tag attributes and they are converted from strong-soap to JSON element with key $attributes…
sytolk
  • 7,223
  • 3
  • 25
  • 38
1
2