【问题标题】:Axis 2 WS Top to Down Approach from WSDL Issue with Service URL带有服务 URL 的 WSDL 问题的 Axis 2 WS 自上而下的方法
【发布时间】:2013-04-28 18:34:53
【问题描述】:

这是我的问题

我有一个 WSDL,我正在使用 AXIS 2 通过从上到下的方法创建 Web 服务。 我不能做的是。

无法更改我使用相同 WSDL 创建的第二个服务的端点 url。

我无法更改 WSDL url 中的服务标签。通过它我们可以更改端点地址。

    In short I need to change the service name on the second step in eclipse 
    Wizard.But the WSDL must match the given one.

由于规范是这样一种方式,即 wsdl 必须与他们提供给我的端点地址的期望相匹配

关于如何使用 AXIS2 实现这一点的任何帮助?..

【问题讨论】:

    标签: java eclipse web-services axis2


    【解决方案1】:

    解决了

    实现它是一种 hack 或丑陋的方式。

    使用 diff 实现包使用从上到下的方法两次创建 Web 服务

    现在重命名部分是 AXIS 2 Wizard 的问题。

    在 web-inf 文件夹中,我们将必须创建一个具有新服务名称的文件夹并复制新实现包的类文件并编辑 services.xml 如下

        <service name="THE NAME YOU WANT">
    

    ..
    ..
    ..

        <parameter name="ServiceClass">YOUR IMPL CLASS HERE</parameter>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-26
      • 2016-05-12
      • 1970-01-01
      • 2020-04-03
      • 1970-01-01
      • 2020-09-04
      相关资源
      最近更新 更多