mule - Web 服务消费者(soap)总是 returns null

mule - web service consumer (soap) always returns null

我正在使用 Zuora 香皂 API。我正在尝试执行查询。我没有收到任何错误,但当我将有效负载输出到日志时,结果始终为空。我究竟做错了什么? (我在下面提供的查询应该 return 320 条记录,这是我在本地非 mule 测试脚本中执行相同查询时得到的结果)

这是流程的一部分。

  1. 我将 zoql 查询设置为 flowVars (flowVars.query)。例如:select id from Account WHERE updatedDate > '2016-06-24T23:00:00-06:00'
  2. 我使用 dataweave 创建 xml 有效载荷(下面提供的 dw)
  3. 我执行查询(网络服务消费者应用 xml 下面提供了详细信息)

DataWeave 设置负载:

%dw 1.0
%output application/xml
%namespace ns0 http://api.zuora.com/
---
{
    ns0#query: {
        ns0#queryString: flowVars.query
    }
}

Web 服务消费者应用程序 xml

<ws:consumer config-ref="ZuoraWebServiceConsumer" operation="query" doc:name="query_zuora"/>

ZuoraWebServiceConsumer 配置详情:

<ws:consumer-config name="ZuoraWebServiceConsumer" wsdlLocation="zuora.a.49.0-sandbox.wsdl" service="ZuoraService" port="Soap" serviceAddress="https://apisandbox-api.zuora.com" doc:name="Web Service Consumer">
    <ws:security>
        <ws:wss-username-token username="myusername.here" password="mypassword.here" passwordType="TEXT" />
    </ws:security>
</ws:consumer-config>

和 WSDL: https://www.dropbox.com/s/fkrppvv7i5s1a4w/zuora.a.49.0-sandbox.wsdl?dl=0

与 MuleSoft 支持人员合作后,发现 Zuora 连接器存在错误。当 Zuora returns 无效会话错误时,Zuora 连接器没有捕获它,从池中破坏连接,并启动新连接。 MuleSoft 已确认该错误。