联通vac割接接口实现说明

最近经常有人加我QQ问关于vac传过来的消息包格式相关的问题,如果不是采用java来实现的话,只能是采用收发xml消息包的方式来实现.如下图说明:

 联通vac割接接口实现说明

 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">861321111111111</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>


 

 


你可能感兴趣的:(java,String,webservice,asp,encoding)