如何从我的浏览器中查看肥皂服务数据 [英] How to view soap service data from my browser
问题描述
我对肥皂服务的工作方式是全新的,如果我的理解是错误的,请纠正我.我想通过在浏览器(Chrome)中输入url来传递参数并从soap服务中调用函数,然后想查看结果.我尝试从请帮忙.
所以错误是我对 SOAP 的理解以及使用 Postman 的主机.简而言之,我无法通过浏览器完成SOAP请求.另外,提供的图片表明我丢失了两件事.1) SoapAction
2)参数不是在url中提供的,而是在< soap:Body>
标记中提供的.这些是在POST中提供的,我可以在 Postman
I'm completely new to how soap services work, please correct me if my understanding is wrong. I would like to pass parameters and call a function from a soap service by typing in a url on my browser (Chrome) and then would like to see the results. I tried searching and following the information from here, but I'm not sure what I'm doing wrong. I have tried the following variations:
http://<servername>/apppath/MyService.asmx?op=GetData?loc=01&status=OPEN
http://<servername>/apppath/MyService.asmx/GetData?loc=01&status=OPEN
This is what I get when I go to the url.
http:/<servername>/apppath/MyService.asmx?op=GetData?
Please help.
So the error was my understanding of SOAP and host to use Postman. In short, I wasn't able to accomplish a SOAP request through the browser. Also, the picture supplied, it showed I was missing 2 things. 1) The SoapAction
2) The parameters were not supplied in the url but rather in the <soap:Body>
tag. These were supplied in the POST and I was able to view my results in Postman
这篇关于如何从我的浏览器中查看肥皂服务数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!