我的web服务适用于soapclient.com,但不适用于soapsonar软件:

时间:2010-05-02 11:03:34

标签: web-services rebol

我已经在这里找到了http://www.rebolforces.com/zine/rzine-1-02/#sect6的网络服务。 在我自己的网站上。

我测试了http://reboltutorial.com/discordian.wsdl http://www.soapclient.com/soaptest.html

它确实有效,因为我得到了这个答案

  

Sweetmorn,Discord 48,我们的年份   Lady of Discord 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>

1 个答案:

答案 0 :(得分:1)

soapsonar显然没有向rebol网站发送您期望的URL。除非它有一个向您显示线迹的选项,否则我会忽略它,并坚持使用有效的工具。 SoapUi是一种常见的替代方案。