在 WSO2 ESB 中调用代理服务时找不到操作的端点引用 (EPR)

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></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>

我使用了header值(VehicleNo)来传递代理服务。 但是我使用邮递员调用这个代理,发生了以下错误。

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/

这里也回答了类似的问题。 The endpoint reference (EPR) for the Operation not found is