预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共11页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

HTTP的报文格式 发送的HTTP报文格式如下: POST/itx/itxsvc/paramHTTP/1.1<0DH><0AH> HOST:127.0.0.1:9080<0DH><0AH> Accept:*/*<0DH><0AH> Accept-Language:zh-cn<0DH><0AH> User-Agent:XAgent<0DH><0AH> Connection:Keep-Alive<0DH><0AH> Content-Type:application/x-www-form-urlencoded<0DH><0AH> Content-Length:929<0DH><0AH> <0DH><0AH> requestMessage=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3CTXLife%3E%3CUserAuthRequest%3E%3CUserLoginName%3Echangzhou%3C%2FUserLoginName%3E%3CUserPswd%3E%3CPswd%3Epassword%3C%2FPswd%3E%3C%2FUserPswd%3E%3C%2FUserAuthRequest%3E%3CTXLifeRequest%3E%3CTransRefGUID%3E0000010001%3C%2FTransRefGUID%3E%3CTransType+tc%3D%22208%22%3E%E8%B4%A6%E5%8D%95%E4%BF%A1%E6%81%AF%E6%9F%A5%E8%AF%A2%3C%2FTransType%3E%3CTransExeDate%3E2012-09-12%3C%2FTransExeDate%3E%3CTransExeTime%3E09%3A38%3A04%3C%2FTransExeTime%3E%3COLifE%3E%3CHolding+id%3D%22Holding_1%22%3E%3CPolicy%3E%3CApplicationInfo%3E%3CHOAppFormNumber%3E1234567890%3C%2FHOAppFormNumber%3E%3C%2FApplicationInfo%3E%3C%2FPolicy%3E%3C%2FHolding%3E%3C%2FOLifE%3E%3COLifEExtension+VendorCode%3D%221%22%3E%3CPartnerCode%3ECZ%3C%2FPartnerCode%3E%3C%2FOLifEExtension%3E%3C%2FTXLifeRequest%3E%3C%2FTXLife%3E&transType=208&tradingPartner=CZ&documentProtocol=CPIC_ECOM&bytesLength=591 其中<0DH><0AH>实际是换行符(有ComView程序为了显示,自动将回车换行转成的<0DH><0AH>的。) 应答的HTTP报文格式如下: HTTP/1.1200OK<0DH><0AH> Date:Wed,12Sep201209:40:45CST<0DH><0AH> Server:XServer<0DH><0AH> Content-Type:text/html<0DH><0AH> Content-Length:2380<0DH><0AH> <0DH><0AH> <TXLife><TXLifeResponse><TransRefGUID>0000000001</TransRefGUID><TransTypetc="208"/><TransExeDate>2003-12-04</TransExeDate><TransExeTime>13:52:30</TransExeTime><TransResult><ResultCodetc="1">Success</ResultCode><ResultInfo><ResultInfoDesc>ParaMedicalOrderReceived</ResultInfoDesc></ResultInfo></TransResult><OLifE><Holdingid="Holding_1"><Policy><ProductCode>XXRR</ProductCode><PaidToDate>2012-10-12</PaidToDate><ModalPremAmt>20</ModalPremAmt><ApplicationInfo><HOAppFormNumber>4151235431</HOAppFormNumber></ApplicationInfo></Pol