华为提供的vac请求样例包request.xml
-
<soapenv:Envelope xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd ="http://www.w3.org/2001/XMLSchema" xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap ="http://soap.bossagent.vac.unicom.com" >
-
<soapenv:Header />
-
<soapenv:Body>
-
<soap:orderRelationUpdateNotify soapenv:encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" >
-
<orderRelationUpdateNotifyRequest xsi:type ="req:OrderRelationUpdateNotifyRequest" xmlns:req ="http://req.sync.soap.bossagent.vac.unicom.com" >
-
<recordSequenceId xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 11</recordSequenceId>
-
<userIdType xsi:type ="soapenc:int" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 1</userIdType>
-
<userId xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 1</userId>
-
<serviceType xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 1</serviceType>
-
<spId xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 1</spId>
-
<productId xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 2</productId>
-
<updateType xsi:type ="soapenc:int" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 3</updateType>
-
<updateTime xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 44444444</updateTime>
-
<updateDesc xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 444</updateDesc>
-
<linkId xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 44</linkId>
-
<content xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > ?</content>
-
<effectiveDate xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 333333</effectiveDate>
-
<expireDate xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 2222222</expireDate>
-
<time_stamp xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 3333</time_stamp>
-
<encodeStr xsi:type ="soapenc:string" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 111gg</encodeStr>
-
</orderRelationUpdateNotifyRequest>
-
</soap:orderRelationUpdateNotify>
-
</soapenv:Body>
-
</soapenv:Envelope>
实际在网络上收到的数据包
-
<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:orderRelationUpdateNotify soapenv:encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://soap.bossagent.vac.unicom.com" >
-
<orderRelationUpdateNotifyRequest href ="#id0" />
-
</ns1:orderRelationUpdateNotify>
-
<multiRef id ="id0" soapenc:root ="0" soapenv:encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" xsi:type ="ns2:OrderRelationUpdateNotifyRequest" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://req.sync.soap.bossagent.vac.unicom.com" >
-
<recordSequenceId xsi:type ="soapenc:string" > 200903181622360043</recordSequenceId>
-
<userIdType href ="#id1" />
-
<userId xsi:type ="soapenc:string" > 8613004849965</userId>
-
<serviceType xsi:type ="soapenc:string" > 5</serviceType>
-
<spId xsi:type ="soapenc:string" > 90000001</spId>
-
<productId xsi:type ="soapenc:string" > 050002</productId>
-
<updateType href ="#id2" />
-
<updateTime xsi:type ="soapenc:string" > 20090313110400</updateTime>
-
<updateDesc xsi:type ="soapenc:string" > </updateDesc>
-
<linkId xsi:type ="soapenc:string" > </linkId>
-
<content xsi:type ="soapenc:string" > </content>
-
<effectiveDate xsi:type ="soapenc:string" > 20080301000000</effectiveDate>
-
<expireDate xsi:type ="soapenc:string" > 20100301000000</expireDate>
-
<time_stamp xsi:type ="soapenc:string" > 0318162236</time_stamp>
-
<encodeStr xsi:type ="soapenc:string" > </encodeStr>
-
</multiRef>
-
<multiRef id ="id2" soapenc:root ="0" soapenv:encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" xsi:type ="soapenc:int" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 1</multiRef>
-
<multiRef id ="id1" soapenc:root ="0" soapenv:encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" xsi:type ="soapenc:int" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 1</multiRef>
-
</soapenv:Body>
-
</soapenv:Envelope>
时间格式都是 <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } -->yyyyMMddhhmmss
本文展示了一个由华为提供的VAC请求样例包request.xml,其中包括了SOAP Envelope的详细结构与字段说明,如recordSequenceId、userIdType等,对于理解及实现相关通信协议有直接帮助。
3582

被折叠的 条评论
为什么被折叠?



