如何下载用perl编写的Web服务的WSDL?

时间:2017-01-30 08:13:26

标签: perl web-services soap wsdl

我正在尝试下载用Perl编写的Web服务的WSDL。我尝试过使用SVCUtil。我得到的回复是The page cannot be displayed because the server requires a Content-Length header in the request.这是一个基于肥皂的服务和服务,如下所示https://**********/Mycgi/MyServices.pl

这是第三方网络服务,我们无法控制。我们只需要消费它。我需要嘲笑这项服务。我的计划是生成WSDL,然后使用WSDL创建Web服务。但是我在这一点上陷入困​​境。

那么,有没有办法生成WSDL?或者还有其他方法可以做到这一点。我的目标是在.net中嘲笑它。

修改 1.我在URL之后使用了?wsdl,但仍然是我在上面粘贴的响应。

  1. 通过传递网址使用了WCFTestClient.exe,我收到了Error: Cannot obtain Metadata from **URL**

  2. 使用了肥皂用户界面,我收到了org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: CDAT

  3. 谢谢, 假

0 个答案:

没有答案
相关问题