Web services Mule Web服务使用者必须理解标题

Web services Mule Web服务使用者必须理解标题,web-services,soap,mule,cxf,Web Services,Soap,Mule,Cxf,我构建了一个流程,将请求发送给外部web服务使用者。此服务已启用安全性,我已将其配置为 <ws:consumer-config name="Test_WS" wsdlLocation="test.wsdl" service="TestService" port="TestServicePort" serviceAddress="http://${service.host}:${service.port}/test/services" connectorConfig="HttpsConnec

我构建了一个流程,将请求发送给外部web服务使用者。此服务已启用安全性,我已将其配置为

<ws:consumer-config name="Test_WS" wsdlLocation="test.wsdl" service="TestService" port="TestServicePort" serviceAddress="http://${service.host}:${service.port}/test/services" connectorConfig="HttpsConnector" doc:name="Web Service Consumer">
    <ws:security>
        <ws:wss-username-token username="${service.user}" password="${service.pwd}" passwordType="TEXT"/>
    </ws:security>
</ws:consumer-config>

有没有办法禁用MustUnderstand标头?谢谢。

标题mustUnderstand,默认值为true

通过在调用WebService使用者之前设置消息属性,将此标头设置为false。这应该可以解决这个问题

<set-property propertyName="mustUnderstand" value="false"/>

<set-property propertyName="mustUnderstand" value="false"/>