XML请求中的额外问号。这是字节顺序标记吗?

时间:2015-04-09 05:58:36

标签: xml tomcat6 byte-order-mark

我打电话给一些SAAJ服务。

SAAG服务接收附加了额外问号的XML。 为什么发送的xml中有额外的问号?

收到SOAP消息:

?<?xml version="1.0" encoding="utf-8"?>

错误:

<faultcode>SOAP-ENV:Server.Unknown</faultcode><faultstring>com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl while dispatching SOAP request: **XML declaration parsing failed**</faultstring><faultactor></faultactor><stackTrace xmlns="http://www.ssaglobal.com/OpenWorld/c4soap">com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: XML declaration parsing failed&#13;
        at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.lookForXmlDecl(Unknown Source)&#13;

0 个答案:

没有答案