|
本帖最后由 1014552551 于 2016-4-11 17:54 编辑
<ContractRoot>
<TcpCont>
<AppKey>${DiXinTong_SysId}</AppKey>
<Method>orders.syncOldMktResInstComplete</Method>
<TransactionID>${DiXinTong_SysId}${__time(yyyyMMdd,Date)}${__Random(0000000000,9999999999,${TransactionID})}</TransactionID>
<ReqTime>${__time(yyyyMMddHHmmss,ReqTime)}</ReqTime>
<Sign></Sign>
<Version>V1.0</Version>
</TcpCont>
<SvcCont><mktResInstInfos><mktResInstCode>8986111421025079064</mktResInstCode></mktResInstInfos><finishTime>20130817200202</finishTime></SvcCont>
</ContractRoot>
如上报文,TransactionID是由函数生成,我需要在报文执行前获取到TransactionID的值,并用它进行md5加密,把加密后的值赋给Sign字段,然后post报文。现在的问题是不知怎样去取这个TransactionID值,请大神指导下,万分感谢!!!!
|
|