forked from chameleonbr/node-red-contrib-soap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
soap-config.html
66 lines (64 loc) · 2.61 KB
/
soap-config.html
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<script type="text/javascript">
RED.nodes.registerType('soap-config', {
category: 'config',
defaults: {
wsdl: {value: "", required: true},
auth: {value: "0", required: true},
user: {value: "", required: false},
pass: {value: "", required: false},
key: {value: "", required: false},
cert: {value: "", required: false},
token: {value: "", required: false}
},
label: function () {
return this.wsdl;
}
});
</script>
<script type="text/x-red" data-template-name="soap-config">
<div class="form-row">
<label for="node-config-input-wsdl"><i class="fa fa-globe"></i> WSDL</label>
<input type="text" id="node-config-input-wsdl">
</div>
<div class="form-row">
<label for="node-config-input-auth"><i class="fa fa-unlock"></i> Auth</label>
<select type="text" id="node-config-input-auth">
<option value="0">None</option>
<option value="1">Basic Auth</option>
<option value="2">Client Certificate</option>
<option value="3">WS-Security</option>
<option value="4">Bearer Token</option>
</select>
</div>
<div class="form-row">
<label for="node-config-input-user"><i class="fa fa-user"></i> Username</label>
<input type="text" id="node-config-input-user">
</div>
<div class="form-row">
<label for="node-config-input-pass"><i class="fa fa-lock"></i> Password</label>
<input type="password" id="node-config-input-pass">
</div>
<div class="form-row">
<label for="node-config-input-key"><i class="fa fa-file"></i> Client Key</label>
<input type="text" id="node-config-input-key">
</div>
<div class="form-row">
<label for="node-config-input-cert"><i class="fa fa-file"></i> Client Certificate</label>
<input type="text" id="node-config-input-cert">
</div>
<div class="form-row">
<label for="node-config-input-token"><i class="fa fa-key"></i> Token</label>
<input type="text" id="node-config-input-token">
</div>
</script>
<script type="text/x-red" data-help-name="soap-config">
<p>Create SOAP config</p>
<p>To set up SOAP request, create a new soap config:</p>
<p>
<ul>
<li>Enter the WSDL address to the <i>WSDL</i> field. </li>
<li> Select <i>Auth</i> method, the default would be set to None.</li>
<li> Fill in <i>Username</i>, <i>Password</i>, <i>Client Key</i>, <i>Client Certificate</i>, <i>Token</i> if needed. </li>
</ul>
</p>
</script>