WSO2 与 Oracle RDS Amazon 集成的问题
当我访问此 URL http://my.domain.com:9763/services/Test_DataService.SOAP12Endpoint,收到如下消息:
When I accessed this URL http://my.domain.com:9763/services/Test_DataService.SOAP12Endpoint, I received the message bellow:
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 本地和远程(在所有情况下都出现相同的错误).
I tested the WSO2 DSS 2.7 and 3 local and remote with Oracle RDS on Amazon (the same error on all cases).
发生了什么事?
推荐答案
您似乎以错误的方式访问服务.
It looks like you are accessing the service in a wrong way.
您可能知道,WSO2 数据服务服务器 使用 Axis2 服务于 将您的数据服务公开为网络服务.
As you might know, WSO2 Data Services Server uses Axis2 services to expose your data service as a web service.
因此,您应该知道如何从客户端调用 Web (Axis2) 服务.
So, you should know how to invoke Web (Axis2) services from a client.
当您成功创建数据服务后,您应该可以在服务列表中看到相关服务.然后您可以使用Service Dashboard"查看服务的 WSDL 并管理 QoS
When you successfully create a data service, you should be able to see the relevant service in the services list. Then you can use the "Service Dashboard" to view the service's WSDL and manage QoS
来自 Axis2 的以下错误 通常表明您没有正确调用 Web 服务.
Following error from Axis2 usually indicate that you are not invoking the web service properly.
找不到操作的端点引用 (EPR) 是/services/User_DataService.SOAP12Endpoint 并且 WSA Action = null.如果此 EPR 以前可以访问,请联系服务器管理员.
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.
您应该能够从内置 尝试一下 测试服务服务仪表板的功能.soapUI 也是测试 Web 服务的好工具.您只需指向 soapUI 中的 WSDL 并创建一个项目.然后,您可以手动调用soapUI 项目下列出的服务操作.
You should be able to test the service from in-built Try It feature from Service Dashboard. soapUI is also a great tool to test Web Services. You can just point the WSDL in soapUI and create a project. You can then manually invoke listed service operations under the soapUI project.
我希望这会有所帮助!
相关文章