【发布时间】:2017-06-12 20:19:55
【问题描述】:
我们收到此错误:
找不到操作的端点参考 (EPR) 是 [OUR ENDPOINT] 和 WSA 操作 = 。如果此 EPR 以前可以访问,请联系服务器管理员。
我们的 SOAPAction 被声明为“”,这是规范所允许的。
以下答案解释了它发生的原因:https://stackoverflow.com/a/15556669/1553243。但是,我们无法承受建议的解决方法 1 和 3。我们不能让我们的供应商声明他们的 SOAPAction,我们也不能让我们的客户总是附加操作名称。当 SOAPAction = "" 时,解决方法 2 也不起作用。
答案还指出他们正在修复此限制,但我使用的是一年后的版本,什么也没有。
还有其他解决方法吗?
我们的代理定义如下:
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="TEST"
transports="https,http"
statistics="enable"
trace="enable"
startOnLoad="true">
<target>
<inSequence>
</inSequence>
<outSequence>
<send/>
</outSequence>
<faultSequence>
<log/>
</faultSequence>
<endpoint>
<wsdl service="TESTService"
port="TESTServicePort"
uri="http://localhost:8080/test?wsdl"/>
</endpoint>
</target>
<publishWSDL uri="http://localhost:8080/test?wsdl"/>
<description/>
</proxy>
【问题讨论】: