2014-08-27 26 views
0

如果我使用send中介与收件人列表或克隆介体,wso2esb将在soap:Body上发送没有属性的消息。我在代理服务上签署了消息,因此留下消息是至关重要的。 使用发送中介只有一个收件人(不在收件人列表中)工作正常。在wso2esb版本481上,一切正常。 我在wso2esb jira中搜索了关闭的bug,但没有发现任何有用的东西。wso2esb 403发送到多个端点更改消息(删除soap:Body中的属性)

因此,也许有人可以提供关于这个问题的一些信息,或告诉我如何绕过这个问题?

回答

0

这里的链接到错误追踪:https://wso2.org/jira/browse/ESBJAVA-1053

我终于做出了钩是这样的:

<!-- otherwise second request won't be sent --> 
    <property name="DISABLE_CHUNKING" value="true" scope="axis2"/> 
    <enrich> 
    <source clone="false" type="envelope" xpath="" property="" /> 
    <target action="replace" type="property" xpath="" property="INIT_MSG" /> 
    </enrich> 
    <clone sequential="false"> 
    <target> 
     <sequence> 
      <enrich> 
       <source xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" clone="false" type="custom" xpath="get-property('INIT_MSG')" property="" /> 
       <target action="replace" type="envelope" xpath="" property="" /> 
      </enrich> 
      <send> 
       <endpoint> 
       <address uri="address1" /> 
       </endpoint> 
      </send> 
     </sequence> 
    </target> 
相关问题