54 |
55 | | url |
56 | String |
57 | URL to the SOAP web service endpoint. If not present, defaults to the
58 | location attribute of the SOAP address for the service/port
59 | from the WSDL document; for example below it is http://www.webservicex.net/periodictable.asmx:
60 |
61 | <wsdl:service name="periodictable">
62 | <wsdl:port name="periodictableSoap" binding="tns:periodictableSoap">
63 | <soap:address location="http://www.webservicex.net/periodictable.asmx"/>
64 | </wsdl:port>
65 | </wsdl:service>
66 | |
67 |
68 |
69 | | wsdl |
70 | String |
71 | HTTP URL or local file system path to the WSDL file. Default is ?wsdl.
72 | In the example above, it would be http://www.webservicex.net/periodictable.asmx?wsdl.
73 | |
74 |
75 |
76 | | wsdl_options |
77 | Object |
78 | Indicates additonal options to pass to the SOAP connector, for example allowing self signed certificates.
79 | For example:
80 | wsdl_options: {
81 | rejectUnauthorized: false,
82 | strictSSL: false,
83 | requestCert: true,
84 | }
|
85 |
86 |
87 | | wsdl_headers |
88 | Object |
89 | Indicates additonal headers to pass to the SOAP connector, for example for sending http authorizations header.
90 | For example:
91 | wsdl_headers: {
92 | Authorization: "Basic UGVyc29uYWwgYWNjb3VudDpORVdsazIwMTVAKSEl"
93 | }
|
94 |
95 |
96 | | remotingEnabled |
97 | Boolean |
98 | Indicates whether the operations are exposed as REST APIs. To expose or hide a specific method, override with:
99 | <Model>.<method>.shared = true | false;
100 | |
101 |
102 |
103 | | operations |
104 | Object |
105 | Maps WSDL binding operations to Node.js methods. Each key in the JSON
106 | object becomes the name of a method on the model.
107 | See operations property below. |
108 |
109 |
110 | | security |
111 | Object |
112 | security configuration.
113 | See security property below.
114 | |
115 |
116 |
117 | | soapHeaders |
118 | Array of objects. |
119 | Custom SOAP headers. An array of header properties.
120 | For example:
121 | soapHeaders: [{
122 | element: {myHeader: 'XYZ'}, // The XML element in JSON object format
123 | prefix: 'p1', // The XML namespace prefix for the header
124 | namespace: 'http://ns1' // The XML namespace URI for the header
125 | }]
126 | |
127 |
128 |
129 | | httpHeaders |
130 | Object |
131 | Custom HTTP headers. An object of header properties.
132 | For example:
133 | httpHeaders: {
134 | "custom-header": "value of custom-header",
135 | "custom-header-2": "value of custom-header-2"
136 | }
137 | |
138 |
139 |
140 |