联通vac割接接口实现说明
发布时间:2020-12-17 00:57:05 所属栏目:安全 来源:网络整理
导读:最近经常有人加我QQ问关于vac传过来的消息包格式相关的问题,如果不是采用java来实现的话,只能是采用收发xml消息包的方式来实现.如下图说明: ? ?1.联通vac推送给SP的消息包格式: ?xml version="1.0" encoding="UTF-8"?soapenv:Envelope xmlns:soapenv="ht
最近经常有人加我QQ问关于vac传过来的消息包格式相关的问题,如果不是采用java来实现的话,只能是采用收发xml消息包的方式来实现.如下图说明: ? ?1.联通vac推送给SP的消息包格式: <?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: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">200908161759250750</recordSequenceId> <userIdType href="#id1"/> <userId xsi:type="soapenc:string">861322222222222</userId> <serviceType xsi:type="soapenc:string">90</serviceType> <spId xsi:type="soapenc:string">43390</spId> <productId xsi:type="soapenc:string">9017011901</productId> <updateType href="#id2"/> <updateTime xsi:type="soapenc:string">20090816175925</updateTime> <updateDesc xsi:type="soapenc:string"> </updateDesc><linkId xsi:type="soapenc:string"> </linkId><content xsi:type="soapenc:string">Y</content> <effectiveDate xsi:type="soapenc:string">20090801000000</effectiveDate> <expireDate xsi:type="soapenc:string">21001231000000</expireDate> <time_stamp xsi:type="soapenc:string">0816175925</time_stamp> <encodeStr xsi:type="soapenc:string"> </encodeStr> </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> <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> </soapenv:Body> </soapenv:Envelope> 2.SP要回复联通vac消息包格式: <?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:orderRelationUpdateNotifyResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://soap.bossagent.vac.unicom.com"> <orderRelationUpdateNotifyReturn href="#id0"/> </ns1:orderRelationUpdateNotifyResponse> <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:OrderRelationUpdateNotifyResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://rsp.sync.soap.bossagent.vac.unicom.com"> <recordSequenceId xsi:type="soapenc:string">20090822125185691</recordSequenceId> <resultCode xsi:type="xsd:int">0</resultCode> </multiRef> </soapenv:Body> </soapenv:Envelope> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |