从TIBCO BW 6.3.3调用Web服务时,在回复消息中出现错误。错误日志如下:
任何人都可以指导我解决此问题。
ERROR [Axis2 Task] com.tibco.bw.binding.soap - TIBCO-BW-BINDING- SOAP-550120: Error occurred while processing reply message from the service provider of the Operation [{urn:GenericSoap}GenericSoapOperation], SoapReferenceBinding [SOAPReferenceBinding], Application [webCenter.application:1.0] due to exception [org.apache.axiom.om.OMException]
15:11:51.647 ERROR [Axis2 Task] com.tibco.bw.binding.soap - com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in attribute value
at [row,col {unknown-source}]: [2,3861]
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
15:11:51.673 ERROR [bwEngThread:In-Memory Process Worker-7] com.tibco.bw.core - TIBCO-BW-CORE-500050: The BW process [webcenter.Process] instance faulted, JobId [bw0a100], ProcessInstanceId [bw0a100], ParentProcessInstanceId [-], Module [webCenter:1.0.0.qualifier], Application [webCenter.application:1.0].
<CausedBy> TIBCO-BW-CORE-500052: Invoke activity [GenericSoapOperation] fault.
<CausedBy> com.tibco.bw.binding.soap.BWSOAPReferenceBindingException: TIBCO-BW-BINDING-SOAP-550120: Error occurred while processing reply message from the service provider of the Operation [{urn:GenericSoap}GenericSoapOperation], SoapReferenceBinding [SOAPReferenceBinding], Application [webCenter.application:1.0] due to exception [org.apache.axiom.om.OMException]
<CausedBy> org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in attribute value
at [row,col {unknown-source}]: [2,3861]
<CausedBy> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in attribute value at [row,col {unknown-source}]: [2,3861]
答案 0 :(得分:0)
检查xml / xsd文件中的编码,它必须相同
<?xml version="1.0" **encoding="UTF-8"?**>