【问题标题】:Could not Retrieve the wsdl file in eclipse Apache Axis2无法在 Eclipse Apache Axis2 中检索 wsdl 文件
【发布时间】:2013-10-22 12:42:30
【问题描述】:

我正在尝试使用 wsdl 文件来使用一个肥皂网络服务。在 Eclipse 中,当我尝试 New>Other>Web Service Client> 服务定义时:http://abc.com/demo?wsdl&username=test&password=test

我收到一个错误:

Could not Retrieve the wsdl file http://abc.com/demo?wsdlusername=testpassword=test 

当它显示错误时 - 它不会在 uri 中显示“&”。我需要输入一些编码吗?我尝试将 wsdl 放在其他地方,这样我就不必使用用户名和密码 - 这很有效。此外,在浏览器中工作的 URL。你能帮忙吗?谢谢。

【问题讨论】:

    标签: java eclipse wsdl uri axis2


    【解决方案1】:

    您是否尝试过使用 JDK 6 或更高版本中包含的 wsimport 工具?例如:

    wsimport http://abc.com/demo?wsdl&username=test&password=test -Xnocompile
    

    【讨论】:

    • 谢谢!对不起,我太快了——这也不好用。带我进入登录页面。但是这在浏览器中有效
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-04
    • 1970-01-01
    • 2011-12-31
    • 1970-01-01
    相关资源
    最近更新 更多