读书人

webservices怎么生成这样的请求

发布时间: 2012-03-05 11:54:01 作者: rapoo

webservices如何生成这样的请求
最近在做电信的商务领航应用,在于商务领航对接时,我的WEBSERVICES生成的请求为格式为:
<SOAP-ENV:Envelope xmlns:SOAP-ENV= "http://schemas.xmlsoap.org/soap/envelope/ " xmlns:SOAP-ENC= "http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd= "http://www.w3.org/2001/XMLSchema ">
<SOAP-ENV:Body>
<m:m0 xmlns:m= "http://www.openuri.org/ ">
<m:request>
<m:bnetID> String </m:bnetID>
<m:productSpecID> String </m:productSpecID>
<m:hashCode> String </m:hashCode>
<m:timestamp> String </m:timestamp>
</m:request>
</m:m0>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

而电信的请求格式为:
<SOAP-ENV:Envelope xmlns:SOAP-ENV= "http://schemas.xmlsoap.org/soap/envelope/ " xmlns:SOAP-ENC= "http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd= "http://www.w3.org/2001/XMLSchema " xmlns:m0= "http://bnet.gsta.com/v1.18 ">
<SOAP-ENV:Body>
<m:cancel xmlns:m= "http://www.openuri.org/ ">
<m:request>
<m0:bnetID> Stringaaaaa </m0:bnetID>
<m0:productSpecID> String </m0:productSpecID>
<m0:hashCode> Stringaaaaaaaaaaaaaaaaaaaaaaaaaa </m0:hashCode>
<m0:timestamp> Stringaaaaaaaaaaaa </m0:timestamp>
</m:request>
</m:cancel>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
这样的就导致商务领航在向WEBSERVICES发送请求时,WEBSERVICES所获得的值为空值。问题:我要怎样定义这个WEBSERVICES才能接收到商务领航请求的数据呢?

[解决办法]
UP
[解决办法]

[解决办法]
学习
[解决办法]
路过

读书人网 >VB Dotnet

热点推荐