【问题标题】:<soap:address location="??????????????" /> WSDL address location<soap:address location="????????????????" /> WSDL地址位置
【发布时间】:2011-10-24 07:01:41
【问题描述】:
<service name="MathServicesService">
    <port name="MathServicesPort" binding="tns:MathServicesPortBinding">
      <soap:address location="http://localhost/C:\Users\cvolkernick\workspace\WSDLServer\bin\math\"/>
    </port>
  </service>

我应该在上面写着&lt;soap:address location="URL" /&gt; 的地方有什么??我正在尝试使用 Web 服务资源管理器在本地测试我的 Web 服务,但我不断收到 404

【问题讨论】:

    标签: xml web-services soap wsdl


    【解决方案1】:

    要在本地运行服务,您必须运行服务器(例如 Tomcat 应用程序服务器,甚至是简单的 JAX-WS 端点)。

    那么这里需要指定端点的URL(或者获取服务实例时作为参数)。

    【讨论】:

    • 我需要将我的项目转换为动态 Web 应用程序才能将其部署到 glassfish 上吗?
    猜你喜欢
    • 2011-10-24
    • 2011-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-12
    • 1970-01-01
    相关资源
    最近更新 更多