我的网络服务适用于soapclient.com,但不适用于soapsonar软件:
我已经在这里找到了一个网络服务 http://www.rebolforces.com /zine/rzine-1-02/#sect6。 在我自己的网站上。
我测试了 http://reboltutorial.com/discordian.wsdl http://www.soapclient.com/soaptest.html
当我得到这个时它确实有效回答
Sweetmorn,Discord 48,我们的一年 不和女士3176
但是用soapsonar做同样的事情却给了我这样的回应:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://reboltutorial.com/cgi-bin/discordian.cgi">here</a>.</p>
</body></html>
soapsonar有问题还是我做了什么恶作剧?
更新似乎与 SoapUI 给出了相同的结果:
HTTP/1.1 301 Moved Permanently
Date: Sun, 02 May 2010 17:33:54 GMT
Server: Apache
Location: http://reboltutorial.com/cgi-bin/discordian.cgi
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 210
Content-Type: text/html; charset=iso-8859-1
X-Pad: avoid browser bug
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://reboltutorial.com/cgi-bin/discordian.cgi">here</a>.</p>
</body></html>
I have put a webservice I found here http://www.rebolforces.com/zine/rzine-1-02/#sect6.
on my own website.
I tested http://reboltutorial.com/discordian.wsdl with
http://www.soapclient.com/soaptest.html
it did work as I got this answer
Sweetmorn, Discord 48, Year of Our
Lady of Discord 3176
But doing the same thing with soapsonar gives me this response instead:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://reboltutorial.com/cgi-bin/discordian.cgi">here</a>.</p>
</body></html>
Is soapsonar buggy or did I mischief something ?
Update seems giving same result with SoapUI:
HTTP/1.1 301 Moved Permanently
Date: Sun, 02 May 2010 17:33:54 GMT
Server: Apache
Location: http://reboltutorial.com/cgi-bin/discordian.cgi
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 210
Content-Type: text/html; charset=iso-8859-1
X-Pad: avoid browser bug
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://reboltutorial.com/cgi-bin/discordian.cgi">here</a>.</p>
</body></html>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很明显,soapsonar 没有将您期望的 URL 发送到 rebol 网站。除非它有一个选项可以向您显示电线痕迹,否则我会忽略它,并坚持使用有效的工具。 SoapUi 是一个常见的替代方案。
soapsonar is pretty clearly not sending the URL you expect to the rebol website. Unless it has an option to show you a wire trace, I'd ignore it, and stick with tools that work. SoapUi is a common alternative.