【问题标题】:Error processing WSDL document处理 WSDL 文档时出错
【发布时间】:2012-09-22 07:18:00
【问题描述】:

我有一个代码,我正在尝试运行它。我认为它使用 Apache,但我不知道它是如何工作的。 代码中没有错误,但是当我运行它时,出现以下错误。 是我做错了什么还是来自网络服务?

java.net.ConnectException: Connection timed out: connect
    at org.apache.axis.client.Service.initService(Service.java:250)
    at org.apache.axis.client.Service.<init>(Service.java:204)
    at msg.soa.oneits.net.definitions.OneitsServiceLocator.<init>(OneitsServiceLocator.java:21)
    at MainLoopDet.main(MainLoopDet.java:27)

【问题讨论】:

  • 可能是您尚未在尝试访问的 IP/端口上发布服务。

标签: web-services apache webservice-client


【解决方案1】:

检查您的端点。如果 IP/端口配置不正确,通常会出现连接超时。还可以通过发送http://&lt;IP&gt;:port/context/&lt;yourservicepath&gt;?wsdl 之类的请求来检查您的网络服务是否已启动并运行

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-09-21
    • 1970-01-01
    • 1970-01-01
    • 2021-11-16
    • 1970-01-01
    • 2018-08-13
    • 2022-08-23
    相关资源
    最近更新 更多