我打电话给一些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
at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.lookForXmlDecl(Unknown Source)