联通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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值