2017-03-07 3 views
0

Ich verwende WSO2 esb Proxy-Dienste. Ich habe 2 Proxy-Dienst, die erstens Payloadfactory für Second Proxy im ersten Proxy generieren und an seinen Endpunkt senden. wenn ich seccond Proxy nenne, ist es in Ordnung und richtig funktioniert, aber wenn ich ersten Proxy nennen wirft es eine Ausnahme:ActionNotSupported in 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

können Sie die BE WSDL's-Bindung mit der Operation und der Soapaction und dem Proxy-Service XML? –

Antwort

0

i wsa Aktion zu ändern ist Fehler auf null und jetzt:

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

das ist mein Sequenz:

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