转soap传递包,如何分析 5
我在测试soap的客户端和服务器的通信,但是发现传过去的函数参数,数组部分都是0,本来是一个float类型的数组,谢谢大家帮我解答啊...
我在测试soap的客户端和服务器的通信,但是发现传过去的函数参数,数组部分都是0,本来是一个float类型的数组,谢谢大家帮我解答啊
展开
展开全部
给你一个完整的soap包的内容
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="" xmlns:soapenc="" xmlns:xsd="" xmlns:xsi="">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="">
<wsse:UsernameToken>
<wsse:Username>User</wsse:Username>
<wsse:Password Type="">Password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<request xsi:type="freezelimit:request" xmlns:freezelimit="">
<ptyextkey>er</ptyextkey>
<reference>sdf</reference>
<amount>5</amount>
<currency>45</currency>
</request>
</soapenv:Body>
</soapenv:Envelope>
补充:想产生SOAP的话.你看看WebService吧.WebService的通讯就是SOAP的.
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="" xmlns:soapenc="" xmlns:xsd="" xmlns:xsi="">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="">
<wsse:UsernameToken>
<wsse:Username>User</wsse:Username>
<wsse:Password Type="">Password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<request xsi:type="freezelimit:request" xmlns:freezelimit="">
<ptyextkey>er</ptyextkey>
<reference>sdf</reference>
<amount>5</amount>
<currency>45</currency>
</request>
</soapenv:Body>
</soapenv:Envelope>
补充:想产生SOAP的话.你看看WebService吧.WebService的通讯就是SOAP的.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询