1. Configure the Tomcat/jdk environment. There are many online tutorials.
2. Configure the certificate of the https server.
3. Export the RESTful applet we wrote to war format and put it in the webapps directory of tomcat.
4. Enter the bin directory of Tomcat to run the script ./startup.sh to start the tomcat server
5. Enter the log directory of Tomcat and enter tail -f catalina.out to see the server log
6. Use postman to call the post interface (that is, callbackurl), here we have The interface is:
https://ip:port/hello/rest/user/yu
postman certificate configuration process:
http://developer.huawei.com/ict/forum/thread-21465.html
Return 200 ok is success
7. At this time, you will see the data from the calling interface Post on the Tomcat log interface.
8. Complete the subscription operation on the Telecom OceanConnect platform.
Click subscribe, enter our callback Url
and click subscribe again, success!
The whole process of Alibaba Cloud server access to Telecom OceanConnect (NB-IoT)
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=324789767&siteId=291194637
Recommended
Ranking