mirror of
https://github.com/Ylianst/MeshCommander
synced 2025-12-06 06:03:20 +00:00
Version 0.9.0, added IPv6 support.
This commit is contained in:
@@ -16,7 +16,7 @@ var WsmanStackCreateService = function (host, port, user, pass, tls, extra) {
|
||||
if (namespaces == null) namespaces = '';
|
||||
obj.comm.PerformAjax('<?xml version=\"1.0\" encoding=\"utf-8\"?><Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns=\"http://www.w3.org/2003/05/soap-envelope\" ' + namespaces + '><Header><a:Action>' + postdata, function (data, status, tag) {
|
||||
var wsresponse = obj.ParseWsman(data);
|
||||
if ((data != null) && (!wsresponse || wsresponse == null)) {
|
||||
if ((data != null) && (!wsresponse || wsresponse == null) && (status == 200)) {
|
||||
callback(obj, null, { Header: { HttpError: status } }, 601, tag);
|
||||
} else {
|
||||
if (status != 200) {
|
||||
|
||||
Reference in New Issue
Block a user