上面第一节和第二节讲了开发和测验, 这次我再强调下相关注意点
先把webservice在传输过程中的主要内容贴出来。
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:example soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://soap.linkage.com">
<message xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<?xml version="1.0" encoding="UTF-8"?>
<SmterSMS><OrigDomain>PORT</OrigDomain>
<HomeDomain>BOSS</HomeDomain>
<Communicate>06</Communicate>
<BIPCode>BIP6C636</BIPCode>
<ActivityCode>T6000601</ActivityCode>
<ActionCode>0</ActionCode>
<Transido>D000010000000001</Transido>
<ProcessTime>20071130101010</ProcessTime>
<ActionDir>0</ActionDir>
<TestFlag>0</TestFlag>
<ProvinceCode>QHAI</ProvinceCode>
<InModeCode>2</InModeCode>
<TradeEparchyCode>0898</TradeEparchyCode>
<TradeCityCode>INTF</TradeCityCode>
<TradeDepartId>00310</TradeDepartId>
<TradeStaffId>ITFWC000</TradeStaffId>
<TradeDepartPasswd>0123456789</TradeDepartPasswd>
<RouteEparchyCode>INTF</RouteEparchyCode>
<SvcCont>
<![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<SMSC>
<SMSContReq>
<MobNum>139138000000</MobNum>
<SMSCont>1008www.chinamobile.com</SMSCont>
<SendObjectCode>1</SendObjectCode>
<RecvObjectType>00</RecvObjectType>
<SendTimeCode>1</SendTimeCode>
<SmsKindCode>02</SmsKindCode>
<NoticeContentType>0</NoticeContentType>
<SmsTypeCode>20</SmsTypeCode>
<ForceReferCount>1</ForceReferCount>
<SmsPriority>50</SmsPriority>
</SMSContReq></SMSC>]]>
</SvcCont>
</SmterSMS>
</message
</ns1:example>
</soapenv:Body>
</soapenv:Envelope>
一般情况,通信双方之间的消息发送后等待T秒后未收到响应,应立即重发,再连续发送N次后仍未得到响应则停发。现阶段建议取值为:T=120秒,N=30。
这节内容意义不大,主要是说明在执行过程中的反映和一些术语的解释。呵呵,以后再补充吧。