小编Kim*_*jin的帖子

如何在 NodeJs 中运行 SOAP 请求?

起初这听起来像是一个重复的问题,但我已经浏览了我找到的所有博客/教程/视频,但没有一个真正说明了如何运行该请求。示例:对于 RESTful 请求,您在 NodeJs 中编码,点击路由 (https://localhost/3000/api/getStudent) 并获取响应。在代码中使用 router.post('/getStudent', async (req,res) => { // 在此处检查响应或操作 })

但在肥皂中编码完所有功能后,如下所示-

  1. https://medium.com/metrosystemsro/with-node-js-wrap-backend-soap-webservices-in-a-restful-api-a96887575046
  2. https://dafabulousteach.wpcomstaging.com/2016/05/19/making-a-soap-call-with-node/
  3. https://betterprogramming.pub/how-to-perform-soap-requests-with-node-js-4a9627070eb6

在哪里调用该函数以及如何传递参数并测试它?我如何检查响应?

soap node.js express

3
推荐指数
1
解决办法
7701
查看次数

标签 统计

express ×1

node.js ×1

soap ×1