![](/img/trans.png)
[英]WSO2 ESB The endpoint reference (EPR) for the Operation not found, and the WSA Action = urn:mediate
[英]The endpoint reference (EPR) for the Operation not found when invoking proxy service in WSO2 ESB
我正在使用wso2 esb 5.0。 我为调用soap端点创建了代理服务。 下面提到了代理服务代码。
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="LicenseRenewalSystem"
startOnLoad="true"
statistics="disable"
trace="disable"
transports="http,https">
<target>
<inSequence>
<log/>
<property expression="get-property('transport','VehicleNo')"
name="vehicleNo"
scope="default"
type="STRING"/>
<log>
<property expression="get-property('default','vehicleNo')" name="VehicleNo"/>
</log>
<payloadFactory media-type="xml">
<format>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:sam="http://sample.esb.org">
<soapenv:Header/>
<soapenv:Body>
<sam:getPolicyID>
<sam:vehicleNumber>$1</sam:vehicleNumber>
</sam:getPolicyID>
</soapenv:Body>
</soapenv:Envelope>
</format>
<args>
<arg evaluator="xml" expression="get-property('default','vehicleNo')"/>
</args>
</payloadFactory>
<log level="full"/>
<property name="ContentType" scope="axis2" type="STRING" value="text/xml"/>
<property name="messageType" scope="axis2" value="text/xml"/>
<call>
<endpoint>
<address format="soap12"
uri="http://172.17.0.1:9763/services/EmissionTestService?wsdl2"/>
</endpoint>
</call>
<log level="full"/>
</inSequence>
</target>
<description/>
</proxy>
我使用标头值(VehicleNo)来传递代理服务。 但我使用postmen调用此代理,发生以下错误。
The endpoint reference (EPR) for the Operation not found is http://172.17.0.1:9763/services/EmissionTestService and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.
任何人都可以帮助我解决这个问题。
当找不到代理的相关WSDL文件时,会出现此类错误。 请确保您正在调用的端点在ESB实例中可用。
有关详细信息,请参阅指南。 https://wso2.com/library/176/
这里也回答了类似的问题。 未找到操作的端点引用(EPR)是
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.