2017-03-07 215 views
0

我使用wso2 esb代理服務。我有2代理服務,首先生成第一代理中的第二代理的payloadfactory併發送到其端點。當我打電話seccond代理它是確定和工作正常,但是當我打電話的第一個代理拋出異常:ActionNotSupported在wso2 esb

<faultstring xml:lang="en-US">The message with Action 'urn:anonOutInOpResponse' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring> 
+0

你可以發佈BE wsdl的綁定與操作和soapaction以及代理服務xml嗎? –

回答

0

我改變WSA行動爲null,現在的錯誤是:

The message with Action 'urn:anonOutInOpResponse' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. 

這是我的序列:

<payloadFactory media-type="xml"> 
        <format> 
         <p:GetActiveAdministrators xmlns:p="http://tempuri.org/"> 
          <!--0 to 1 occurrence--> 
          <xs:citynetCode xmlns:xs="http://tempuri.org/">$1</xs:citynetCode> 
          <!--0 to 1 occurrence--> 
          <xs:dateTime xmlns:xs="http://tempuri.org/">$2</xs:dateTime> 
         </p:GetActiveAdministrators> 
        </format> 
        <args> 
         <arg evaluator="xml" expression="$ctx:citynetCode"/> 
         <arg evaluator="xml" expression="$ctx:dateTime"/> 
        </args> 
       </payloadFactory> 
       <log category="FATAL" level="full"> 
        <property name="before send" value="payload factory"/> 
       </log> 
       <property name="DISABLE_CHUNKING" scope="axis2" 
        type="STRING" value="true"/> 
       <send> 
        <endpoint> 
         <address format="soap12" uri="http://x.x.x.x:8280/services/citynetserviceMain/GetActiveAdministrators"/> 
        </endpoint> 
       </send>