mirror of
https://github.com/kerberos-io/onvif.git
synced 2026-08-23 15:08:33 +00:00
Fix bugs
This commit is contained in:
@@ -6,8 +6,8 @@ import (
|
||||
"log"
|
||||
"fmt"
|
||||
"github.com/beevik/etree"
|
||||
"github.com/yakovlevdmv/gosoap"
|
||||
"github.com/yakovlevdmv/goonvif/Networking"
|
||||
"github.com/yakovlevdmv/gosoap"
|
||||
)
|
||||
|
||||
type DeviceInfo struct {
|
||||
@@ -40,6 +40,7 @@ func buildMethodSOAP(msg string) (gosoap.SoapMessage, error) {
|
||||
}
|
||||
element := doc.Root()
|
||||
|
||||
|
||||
soap := gosoap.NewEmptySOAP()
|
||||
soap.AddBodyContent(element)
|
||||
soap.AddRootNamespace("wsdl", "http://www.onvif.org/ver10/device/wsdl")
|
||||
|
||||
@@ -2,15 +2,15 @@ package xsd
|
||||
|
||||
import (
|
||||
"time"
|
||||
"github.com/yakovlevdmv/iso8601"
|
||||
iso8601 "github.com/yakovlevdmv/Golang-iso8601-duration"
|
||||
"log"
|
||||
"fmt"
|
||||
"encoding/hex"
|
||||
"encoding/base64"
|
||||
"net/url"
|
||||
"strings"
|
||||
"github.com/pkg/errors"
|
||||
"regexp"
|
||||
"errors"
|
||||
)
|
||||
|
||||
/*
|
||||
|
||||
@@ -915,7 +915,7 @@ type StreamType struct {
|
||||
|
||||
type Transport struct {
|
||||
Protocol TransportProtocol
|
||||
Tunnel Transport
|
||||
Tunnel *Transport
|
||||
}
|
||||
|
||||
//enum
|
||||
@@ -1846,7 +1846,7 @@ type NetworkZeroConfiguration struct {
|
||||
}
|
||||
|
||||
type NetworkZeroConfigurationExtension struct {
|
||||
Additional NetworkZeroConfiguration
|
||||
Additional *NetworkZeroConfiguration
|
||||
Extension NetworkZeroConfigurationExtension2
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user