forked from tungstenfabric/tf-webui-third-party
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheasysoap_0.6.13.patch
44 lines (40 loc) · 1.64 KB
/
easysoap_0.6.13.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- old/contrail-webui-third-party/node_modules/easysoap/lib/wsdl.js 2014-11-10 03:29:31.883488143 -0800
+++ new/contrail-webui-third-party/node_modules/easysoap/lib/wsdl.js 2014-11-10 03:30:24.611488143 -0800
@@ -242,7 +242,8 @@
else {
params.path = params.wsdl;
-
+ resolve(fs.readFileSync(params.path, 'UTF-8'));
+ /*
request.get(params, opts)
.done(function(res) {
fs.writeFile(fullPath, res.body, function(err) {
@@ -256,6 +257,7 @@
function(err) {
reject(err);
});
+ */
}
});
}
@@ -459,4 +461,4 @@
};
-})();
\ No newline at end of file
+})();
--- old/contrail-webui-third-party/node_modules/easysoap/lib/request/request.tpl 2014-11-10 03:29:31.883488143 -0800
+++ new/contrail-webui-third-party/node_modules/easysoap/lib/request/request.tpl 2014-11-10 03:31:40.381488143 -0800
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
- xmlns:SOAP-ENV="<%= envelope.soap_env%>"
+ xmlns:SOAP-ENV="<%= envelope.soap_env%>" xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
<% if (envelope.namespaces !== null) { %>
<% _.each(envelope.namespaces, function(namespace) { %>
<% if (namespace.full !== void 0) { %>
@@ -35,4 +35,4 @@
<% } %>
</SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
\ No newline at end of file
+</SOAP-ENV:Envelope>