Closed ant9301 closed 4 years ago
i have this error XML syntax error on line 61: element
closed by when executing soap.Call
my code is
soap, err := gosoap.SoapClient("http://gps.axionlog.com/gps.asmx", nil) if err != nil { fmt.Errorf("Axionlog:error not expected: %s", err) return err }
inputGPSParams := gosoap.Params{ "vName": patente, "vPass": password, "vPatente": patente, "vGPS_DateTime": gpsdatetime, "vLatitud": latitud, "vLongitud": longitud, "vVelocidad": velocidaddelvehiculo, "vTemp_Congelado": tempcongelado, "vTemp_Refrigerado": temprefrigerado, "vAntena": antena, "vLocation_Name": locationname, "vDireccion": direccion, "vAnalog3": analog3, "vAnalog4": analog4, "vAnalog5": analog5, "vAnalog6": analog6, } res, err := soap.Call("InputGps",inputGPSParams) if err != nil { fmt.Errorf("Axionlog:error call: %s", err) return err }
I do not know if I am using the library wrong, I did not have any problem before but reinstalled the library and I started having this error
i have this error XML syntax error on line 61: element
closed by when executing soap.Call
my code is
soap, err := gosoap.SoapClient("http://gps.axionlog.com/gps.asmx", nil) if err != nil { fmt.Errorf("Axionlog:error not expected: %s", err) return err }
I do not know if I am using the library wrong, I did not have any problem before but reinstalled the library and I started having this error