2017-03-07 180 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>