This commit is contained in:
George Palanjyan
2018-04-10 02:08:46 +03:00
parent cb3bd7e4d8
commit 86ca55954a
2 changed files with 55 additions and 22 deletions

View File

@@ -309,7 +309,7 @@ func (dev device) callAuthorizedMethod(endpoint string, method interface{}) (*ht
/*
Getting an WS-Security struct representation
*/
auth := newSecurity(dev.login, dev.password)
auth := NewSecurity(dev.login, dev.password)
/*
Adding WS-Security namespaces to root element of SOAP message