【问题标题】:Problems on WSO2 with Oracle RDS Amazon integrationWSO2 与 Oracle RDS Amazon 集成的问题
【发布时间】:2013-09-08 05:02:30
【问题描述】:

当我访问这个 URL http://my.domain.com:9763/services/Test_DataService.SOAP12Endpoint 时,我收到了下面的消息:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
        <soapenv:Text xml:lang="en-US">
        The endpoint reference (EPR) for the Operation not found is          /services/User_DataService.SOAP12Endpoint and the WSA Action = null. If this EPR was    previously reachable, please contact the server administrator.
        </soapenv:Text>
    </soapenv:Reason>

我在 Amazon 上使用 Oracle RDS 测试了 WSO2 DSS 2.7 和 3 本地和远程(在所有情况下都出现相同的错误)。

发生了什么事?

【问题讨论】:

  • 如何更改 EPR? "找不到操作的端点引用 (EPR)"

标签: oracle amazon-web-services wso2 amazon wso2dss


【解决方案1】:

您似乎以错误的方式访问服务。

您可能知道,WSO2 Data Services Server 使用Axis2 服务到expose your data service as a web service

因此,您应该知道如何从客户端调用 Web (Axis2) 服务。

当您成功创建数据服务后,您应该可以在服务列表中看到相关服务。然后可以使用“Service Dashboard”查看服务的WSDL,管理QoS

来自 Axis2 usually indicate that you are not invoking the web service properly 的以下错误。

找不到操作的端点引用 (EPR) 是 /services/User_DataService.SOAP12Endpoint 并且 WSA 操作 = null。如果此 EPR 以前可以访问,请联系服务器管理员。

您应该能够通过服务仪表板的内置Try It 功能测试服务。 soapUI 也是测试 Web 服务的好工具。您只需指向WSDL in soapUI 并创建一个项目。然后,您可以手动调用soapUI 项目下列出的服务操作。

我希望这会有所帮助!

【讨论】:

  • WSDLException (at /soapenv:Reason): faultCode=INVALID_WSDL: Expected element '{schemas.xmlsoap.org/wsdl}definitions'.
  • 感谢 Isuru,我已经像我一样多次测试数据服务,使用 Try 资源。带有 Oracle DB 的 WSO2 DSS 数据源具有运行状况连接,但 Try 未运行。我安装了soapUI,但该项目无法在其上正确运行。我收到这条消息:WSDLException (at /soapenv:Reason): faultCode=INVALID_WSDL: Expected element '{schemas.xmlsoap.org/wsdl}definitions'。我使用的 wsdl url 是这样的:my.domain:9763/services/Teste?wsdl
  • 您可以从浏览器访问 WSDL 吗?如果是这样,您可以下载它并将其用于soapUI 项目。
  • 谢谢 Isuru,我正在测试soapUI。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-08-11
  • 1970-01-01
  • 1970-01-01
  • 2013-05-17
  • 2018-03-06
  • 1970-01-01
  • 2018-05-28
相关资源
最近更新 更多