Discussion forum about Comet system products
You are not logged in.
Hello,
We recently purchased a Web sensor T3610 for the Power over Ethernet and the SOAP capabilities. We have the device powered on and it is displaying temperature and humidity. We are trying to configure the SOAP web service to record data into our SQL database. We have used the C# code example posted in http://forum.cometsystem.cz/viewtopic.php?id=769. The service is installed on our IIS service under the internal address http://158.192.75.4/webservices/TempSen … 5xxSample. We are using the Sensors Setup Utility v. 3.3.0.0 to configure the SOAP settings. We cannot seem to get the device to talk to our service. Using the above address, what do we put in the server address and destination port fields for the device to talk to our service. Also, is there any other method of debugging this other than the diagnostic screen which has the following information?
SOAP
En: 1
St: 8
Last: 500
Cnt (req/ok): 60 690/0
ErrCnt (arp/sock/req/dns): 0/0/60 690/0
File soap.conf: ok
File soap: ok
Thanks
Offline
Hi,
In your case it looks that device sends values properly into your web server. But your server returns http code 500 (=Internal Server Error) instead code 200 (=OK). I am not sure what can be wrong in your case actually. But you should try set target address only to "http://158.192.75.4/webservices/TempSensors/TempSensors.asmx".
Maybe you can use latest version of SOAP SDK. File you can download here - soap-tx5xx-tx6xx.zip.
BTW: What firmware version do you have inside your device?
Jan
Offline
Hello,
Thanks for the quick reply. We downloaded the latest SOAP SDK and using that code we got the device/web service working. The firmware version is 1-5-7-3.1236 (Snow leopard). I have now sent the device to our electronics department to test how it works out on our lab floor.
Thanks,
Offline