7

Well, basically that's my question. I honestly don't know what using mitmproxy results in a successful request.

Here's what I did:

  • Created a request from WSDL and was able to query the server successfully
  • Recreated that request using curl. I tried my best to create the same request as soapui does and by inspecting the request using ngrok and requestb.in but it still failed.
  • I tried mitmproxy because why not and I am running out of ideas and it worked!

I really don't know what's going on. Why using mitmproxy made it work.

4

1 回答 1

4

好吧,它认为我发现了发生了什么。

在我的请求中使用 mitmproxy “清理”空白。这就是我成功获得服务器响应的原因。

这是罪魁祸首:

 --header "SOAPAction: \"http://myurk.com/soap/queryRequest\" "

请注意我在 \" 和 " 之间的空格?删除那个空格让它工作。Mitmproxy 可能为我清理了它。

于 2015-10-09T10:45:33.457 回答