在我的WSO2 ESB序列中,我有这个电话
<call blocking="true">
<endpoint key="my_endpoint"/>
</call>
我期望得到的是以这种方式格式化的csv文件:
<data contentType="text/csv" contentLength="191"><![CDATA[ESIto|ID_DEBITO|CODICE_ERRORE|DESCRIZIONE_ERRORE
Elaborato con Errore||FF01|record formalmente errato msg:numero di campi rilevati diverso da quanto previsto (22);recordIdx:1;field:-1;value:9]]></data>
但是我从WSO2控制台得到的是:
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'E' (code 69) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:140)
似乎WSO2无法识别响应中的CDATA元素。 有人可以帮我解决这个问题吗? 预先感谢