This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
websocket 软库接口程序
程序功能:软库在本地启动一个模拟服务,应用发起接口调用,websocket响应中返回票据数据,
应用按照文档提供的格式说明解析所需的用户信息。
1 双击ws_server-soft.exe 程序启动命令行窗口,监听30318端口
2 确认websocket-test.xml与ws_server-soft.exe在同一路径下,否则无法返回正确的票据数据。
异常情况返回数据格式测试:
可以手动重命名websocket-test.xml为其他文件名称,再次调用接口,返回失败时的响应结果。
验证完毕后,务必将测试文件名还原为websocket-test.xml。
3 接口日志文件为当前路径下的log目录,查看websocket.log