我使用Example创建了一个简单的数据服务 服务仪表板提供以下URL:
端点
但是当我尝试使用它们时,我收到以下错误。
<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/DataServiceSamples1/ and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.
</soapenv:Text>
</soapenv:Reason>
我尝试用 localhost 替换 192.168.1.2 ,但我得到的结果相同。
http ://192 .168.1.2:9763/services/ DataServiceSamples1 . SOAP11Endpoint
https ://192 .168.1.2:9443/services/ DataServiceSamples1 . SecureSOAP11Endpoint
https ://192 .168.1.2:9443/services/ DataServiceSamples1 . SecureSOAP12Endpoint
http ://192 .168.1.2:9763/services/ DataServiceSamples1 . SOAP12Endpoint
http ://192 .168.1.2:9763/services/ DataServiceSamples1 . HTTPEndpoint
https ://192 .168.1.2:9443/services/ DataServiceSamples1 . SecureHTTPEndpoint
上面是我的wsdl文件的一部分。那为什么它给了我几个端点? 如何测试这些网址的工作正常。我使用Soapui.it测试他的服务工作正常。
答案 0 :(得分:0)
您可以通过从浏览器调用其wsdl文件来验证服务端点是否存在。为了执行此goto /repository/conf/carbon.xml文件并更改以下条目。
<!-- If this parameter is set, the ?wsdl on an admin service will not give the admin service wsdl. -->
<HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
然后转到浏览器并输入https://192.168.x.x:9443/services/DataServiceSamples1?wsdl。如果您在此处看到wsdl文件,则表示您已部署并运行该服务。您可以从SoapUI或其他客户端向端点发送请求。如果您没有看到WSDL,那么您的服务中会出现一些错误,并且未正确部署。
答案 1 :(得分:0)
您的问题与端点URI等无关。但您需要正确设置WS操作才能点击DS。
您是否可以共享我们或检查您调用此DSS端点的ESB配置,无论您是将WS操作设置为要呼叫的DS的操作名称。 你必须正确拥有有效载荷。请使用DSS试用工具/ DSS WSDL来验证有效负载
即