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…
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…
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…
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…
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…
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…
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…
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 =…
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…
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(
…
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:
{…
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,…
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…
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,
…