![](https://img2022.cnblogs.com/blog/1011242/202205/1011242-20220506175913648-331310333.png)
我收到的应答报文:
00000827<?xml version="1.0" encoding="UTF-8"?><transaction>
<header>
<ver>1.0</ver>
<msg>
<rcvAppCd>UCP</rcvAppCd>
<callTyp>SYN</callTyp>
<msgCd>WWWK.00066661.01</msgCd>
<refSndAppCd>UCP</refSndAppCd>
<refSndDt>20220506</refSndDt>
<replyToQ>REP.TCP.GWIN</replyToQ>
<seqNb>24718917283998</seqNb>
<refMsgCd>WWWK.00066660.01</refMsgCd>
<sndTm>161158</sndTm>
<sndDt>20220506</sndDt>
<sndAppCd>WWWK</sndAppCd>
<refSeqNb>2471835137</refSeqNb>
</msg>
<status>
<desc>success</desc>
<appCd>WWWK</appCd>
<retCd>000000</retCd>
</status>
</header>
<body>
<response>
<studentId>1</studentId>
<studentName>aoligei</studentName>
<studentSex>men</studentSex>
<studentAge>15</studentAge>
</response>
</body>
</transaction>
应答报文前面有个8位的报文长度的字符串,把这个去掉就可以了