New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

easysoap

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easysoap - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

22

lib/wsdl.js

@@ -178,2 +178,3 @@ (function() {

var operations = searchNode(portTypes[0], 'operation');

@@ -194,2 +195,3 @@ var schema = searchNode(types[0], 'schema');

response.name = getName(output.attr.message);
}

@@ -202,16 +204,23 @@ });

var params = [];
_(messages).each(function(message) {
if (message.attr.name === method) {
_(message.children).each(function(part) {
if (_.indexOf(param_types, getName(part.attr.type)) !== -1) {
var attr_data_type = part.attr.type || part.attr.element || null;
if (_.indexOf(param_types, getName(attr_data_type)) !== -1) {
return params.push({
'name' : part.attr.name,
'namespace' : getNamespace(part.attr.type),
'type' : getName(part.attr.type)
'namespace' : getNamespace(attr_data_type),
'type' : getName(attr_data_type)
});
}
var complex_type = searchNodeByName(schema[0], getName(part.attr.type));
var complex_type = searchNodeByName(schema[0], getName(attr_data_type));
if (complex_type === void 0) {
return true;
}
var complex_content = searchNode(complex_type, 'complexContent');

@@ -234,2 +243,3 @@

var attribute = searchNode(complex_content_item, 'attribute');
var array_type = getName(attribute[0].attr['wsdl:arrayType']);

@@ -285,3 +295,3 @@ array_type = array_type.split('[]');

var response_xml = new xmldoc.XmlDocument(params.response);
var response_body = response_xml.childNamed('SOAP-ENV:Body');
var response_body = searchNode(response_xml, 'Body')[0];

@@ -296,3 +306,2 @@ var node_data = [];

var returnValue = {

@@ -306,3 +315,2 @@ status : true,

var fault = searchNode(response_body, 'Fault');
if (!_.isEmpty(fault[0])) {

@@ -309,0 +317,0 @@ var errors = [];

@@ -9,3 +9,3 @@ {

},
"version": "0.2.2",
"version": "0.2.3",
"main": "./index",

@@ -16,2 +16,7 @@ "dependencies": {

},
"keywords": ["soap", "wsdl"],
"repository" : {
"type":"git",
"url" :"https://github.com/moszeed/easysoap.git"
},
"license": {

@@ -18,0 +23,0 @@ "type": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc