联通vac平台测试sp订购关系
大家好,我现在正在做山东联通的vac订购关系处理,由于联通提供给我们的wsdl文件不知道什么问题,开始用axis生成java源码,结果有些问题,没调试通。
现在我们想通过接收联通发送给我们的sp订购通知包写入xml,然后解析处理,并且返回给联通一个response包。现在不清楚这个resonse包应该是怎样的格式?
不知有做过联通vac sp订购关系处理的吗?麻烦给指点一下或者提供以下response的xml包格式,谢谢!
以下是我通过抓包获取的request包和response包,大家可以测试下,不过我目前还没测好,希望大家多提意见,我现在在用java—+axis1.4实现,还在测试中。。。。。。。。。。。。
有实现的朋友麻烦给支持一下,或者将标准的返回包传我一份,hongjun1178@gmail.com谢谢!
- XML code
-
Host: 218.57.19.98:8080 Cache-Control: no-cache Pragma: no-cache SOAPAction: "" Content-Length: 1729 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" > 200908111125185691 recordSequenceId > < userIdType href ="#id1" /> < userId xsi:type ="soapenc:string" > 137222125062 userId > < serviceType xsi:type ="soapenc:string" > 22223 serviceType > < spId xsi:type ="soapenc:string" > 41690 spId > < productId xsi:type ="soapenc:string" > 9000122 productId >< updateType href ="#id1" />< updateTime xsi:type ="soapenc:string" xsi:nil ="true" />< updateDesc xsi:type ="soapenc:string" xsi:nil ="true" />< linkId xsi:type ="soapenc:string" xsi:nil ="true" />< content xsi:type ="soapenc:string" xsi:nil ="true" />< effectiveDate xsi:type ="soapenc:string" xsi:nil ="true" />< expireDate xsi:type ="soapenc:string" xsi:nil ="true" />< time_stamp xsi:type ="soapenc:string" xsi:nil ="true" />< encodeStr xsi:type ="soapenc:string" xsi:nil ="true" /> 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 >
- response返回包 XML code
-
HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=utf-8 Date: Fri, 21 Aug 2009 07:12:52 GMT Connection: close 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" > 200908111125185691 recordSequenceId > < resultCode href ="#id1" /> multiRef > < multiRef id ="id1" soapenc:root ="0" soapenv:encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" xsi:type ="xsd:int" xmlns:soapenc ="http://schemas.xmlsoap.org/soap/encoding/" > 0 multiRef > soapenv:Body > soapenv:Envelope >
转载于:https://my.oschina.net/u/565411/blog/285710
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
