简述 Qt本身给我们提供了调用WebService的解决方案QtSoap,源码及示例见:qt-solutions-qtsoap 简述 下载编译 使用 实例解析 示例 效果 源码 更多参考 下载编译 下载源码后,需要修改一些地方
简述
Qt本身给我们提供了调用WebService的解决方案QtSoap,源码及示例见:qt-solutions-qtsoap
- 简述
- 下载编译
- 使用
- 实例解析
- 示例
- 效果
- 源码
- 更多参考
下载编译
下载源码后,需要修改一些地方(我的版本是Qt5),按照错误提示修改即可,很简单。
编译完成之后会生成QtSolutions_SOAP-headd.lib、QtSolutions_SOAP-headd.dll。。。
使用
拷贝QtSolutions_SOAP-headd.lib至lib目录下,拷贝qtsoap.h至include目录下。
pro中添加库文件及库目录:
<code class="language-Qt hljs lasso has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">INCLUDEPATH <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">+=</span> $<span class="hljs-variable" style="color:#66066;box-sizing: border-box;">$PWD</span>/include LIBS <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">+=</span> <span class="hljs-attribute" style="box-sizing: border-box;">-L</span>$<span class="hljs-variable" style="color:#66066;box-sizing: border-box;">$PWD</span>/lib <span class="hljs-attribute" style="box-sizing: border-box;">-lQtSolutions_SOAP</span><span class="hljs-attribute" style="box-sizing: border-box;">-headd</span></code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li></ul><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li></ul>
实例解析
下面,我们以“获得腾讯QQ在线状态”为例,见:WebXml.com.cn,里面包含了大量的Web服务,例如:手机号码归属地查询,电子邮件地址验证、城市天气预报查询等。
示例
SOAP 1.1
以下是SOAP1.1请求和响应示例。所显示的占位符需替换为实际值。
效果
源码
<code class="language-Qt hljs lasso has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;"><span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 构建控件</span> m_pQQLabel <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">new</span> QLabel(this); m_pStateLabel <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">new</span> QLabel(this); m_pQQLineEdit <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">new</span> QLineEdit(this); m_pStateLineEdit <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">new</span> QLineEdit(this); m_pSubmitButton <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">new</span> QPushButton(this); m_pStateLineEdit<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setReadOnly(<span class="hljs-literal" style="color:#06666;box-sizing: border-box;">true</span>); m_pQQLabel<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setText(QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"QQ号码:"</span>)); m_pStateLabel<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setText(QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"QQ状态:"</span>)); m_pSubmitButton<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setText(QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"提交"</span>)); QGridLayout <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">*</span>pLayout <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">new</span> QGridLayout(); pLayout<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>addWidget(m_pQQLabel, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>); pLayout<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>addWidget(m_pQQLineEdit, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">1</span>); pLayout<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>addWidget(m_pStateLabel, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">1</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>); pLayout<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>addWidget(m_pStateLineEdit, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">1</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">1</span>); pLayout<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>addWidget(m_pSubmitButton, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">2</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">1</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">1</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">1</span>, Qt<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::AlignRight</span>); pLayout<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setSpacing(<span class="hljs-number" style="color:#06666;box-sizing: border-box;">10</span>); pLayout<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setContentsMargins(<span class="hljs-number" style="color:#06666;box-sizing: border-box;">10</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">10</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">10</span>, <span class="hljs-number" style="color:#06666;box-sizing: border-box;">10</span>); setLayout(pLayout); <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 连接信号槽</span> m_pHttp <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">new</span> QtSoapHttpTransport(this); connect(m_pSubmitButton, SIGNAL(clicked()), this, SLOT(onSubmit())); connect(m_pHttp, SIGNAL(responseReady(const QtSoapMessage <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">&</span>)), this, SLOT(onResponse(const QtSoapMessage <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">&</span>))); <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 提交请求</span> <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">void</span> MainWindow<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::onSubmit</span>() { QtSoapMessage message; <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 设置方法</span> message<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>setMethod(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"qqCheckOnline"</span>, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">"http://WebXml.com.cn/"</span>); <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 设置动作</span> m_pHttp<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setAction(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"http://WebXml.com.cn/qqCheckOnline"</span>); <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 设置主机</span> m_pHttp<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setHost(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"www.webxml.com.cn"</span>); <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 添加方法参数</span> QString strQQ <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> m_pQQLineEdit<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>text(); message<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>addMethodArgument(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"qqCode"</span>, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">""</span>, strQQ); QString strXML <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> message<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>toXmlString(); <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 提交请求</span> m_pHttp<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>submitRequest(message, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">"/webservices/qqOnlineWebService.asmx"</span>); } <span class="hljs-literal" style="color:#06666;box-sizing: border-box;">void</span> MainWindow<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::onResponse</span>(const QtSoapMessage <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">&</span>response) { QString strXML <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> response<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>toXmlString(); QDomDocument doc; doc<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>setContent(strXML); <span class="hljs-comment" style="color:#8800;box-sizing: border-box;">// 接在在线状态</span> QDomNodeList nodeList <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> doc<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>elementsByTagName(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"qqCheckOnlineResult"</span>); <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">if</span> (<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">!</span>nodeList<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>isEmpty()) { QDomNode node <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> nodeList<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>at(<span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>); QString strResult <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> node<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>toElement()<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>text(); QString strState(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"N/A"</span>); <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">if</span> (QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::compare</span>(strResult, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">"Y"</span>) <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">==</span><span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>) { strState <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"在线"</span>); } <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">else</span> <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">if</span> (QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::compare</span>(strResult, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">"N"</span>) <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">==</span> <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>) { strState <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"离线"</span>); } <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">else</span> <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">if</span> (QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::compare</span>(strResult, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">"E"</span>) <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">==</span> <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>) { strState <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"QQ号码错误"</span>); } <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">else</span> <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">if</span> (QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::compare</span>(strResult, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">"A"</span>) <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">==</span> <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>) { strState <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"商业用户验证失败"</span>); } <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">else</span> <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">if</span> (QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::compare</span>(strResult, <span class="hljs-string" style="color:#0880;box-sizing: border-box;">"V"</span>) <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">==</span> <span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>) { strState <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">=</span> QString<span class="hljs-tag" style="color:#06666;box-sizing: border-box;">::fromLocal8Bit</span>(<span class="hljs-string" style="color:#0880;box-sizing: border-box;">"免费用户超过数量"</span>); } m_pStateLineEdit<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">-></span>setText(strState); } }</code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li><li style="box-sizing: border-box; padding: 0px 5px;">6</li><li style="box-sizing: border-box; padding: 0px 5px;">7</li><li style="box-sizing: border-box; padding: 0px 5px;">8</li><li style="box-sizing: border-box; padding: 0px 5px;">9</li><li style="box-sizing: border-box; padding: 0px 5px;">10</li><li style="box-sizing: border-box; padding: 0px 5px;">11</li><li style="box-sizing: border-box; padding: 0px 5px;">12</li><li style="box-sizing: border-box; padding: 0px 5px;">13</li><li style="box-sizing: border-box; padding: 0px 5px;">14</li><li style="box-sizing: border-box; padding: 0px 5px;">15</li><li style="box-sizing: border-box; padding: 0px 5px;">16</li><li style="box-sizing: border-box; padding: 0px 5px;">17</li><li style="box-sizing: border-box; padding: 0px 5px;">18</li><li style="box-sizing: border-box; padding: 0px 5px;">19</li><li style="box-sizing: border-box; padding: 0px 5px;">20</li><li style="box-sizing: border-box; padding: 0px 5px;">21</li><li style="box-sizing: border-box; padding: 0px 5px;">22</li><li style="box-sizing: border-box; padding: 0px 5px;">23</li><li style="box-sizing: border-box; padding: 0px 5px;">24</li><li style="box-sizing: border-box; padding: 0px 5px;">25</li><li style="box-sizing: border-box; padding: 0px 5px;">26</li><li style="box-sizing: border-box; padding: 0px 5px;">27</li><li style="box-sizing: border-box; padding: 0px 5px;">28</li><li style="box-sizing: border-box; padding: 0px 5px;">29</li><li style="box-sizing: border-box; padding: 0px 5px;">30</li><li style="box-sizing: border-box; padding: 0px 5px;">31</li><li style="box-sizing: border-box; padding: 0px 5px;">32</li><li style="box-sizing: border-box; padding: 0px 5px;">33</li><li style="box-sizing: border-box; padding: 0px 5px;">34</li><li style="box-sizing: border-box; padding: 0px 5px;">35</li><li style="box-sizing: border-box; padding: 0px 5px;">36</li><li style="box-sizing: border-box; padding: 0px 5px;">37</li><li style="box-sizing: border-box; padding: 0px 5px;">38</li><li style="box-sizing: border-box; padding: 0px 5px;">39</li><li style="box-sizing: border-box; padding: 0px 5px;">40</li><li style="box-sizing: border-box; padding: 0px 5px;">41</li><li style="box-sizing: border-box; padding: 0px 5px;">42</li><li style="box-sizing: border-box; padding: 0px 5px;">43</li><li style="box-sizing: border-box; padding: 0px 5px;">44</li><li style="box-sizing: border-box; padding: 0px 5px;">45</li><li style="box-sizing: border-box; padding: 0px 5px;">46</li><li style="box-sizing: border-box; padding: 0px 5px;">47</li><li style="box-sizing: border-box; padding: 0px 5px;">48</li><li style="box-sizing: border-box; padding: 0px 5px;">49</li><li style="box-sizing: border-box; padding: 0px 5px;">50</li><li style="box-sizing: border-box; padding: 0px 5px;">51</li><li style="box-sizing: border-box; padding: 0px 5px;">52</li><li style="box-sizing: border-box; padding: 0px 5px;">53</li><li style="box-sizing: border-box; padding: 0px 5px;">54</li><li style="box-sizing: border-box; padding: 0px 5px;">55</li><li style="box-sizing: border-box; padding: 0px 5px;">56</li><li style="box-sizing: border-box; padding: 0px 5px;">57</li><li style="box-sizing: border-box; padding: 0px 5px;">58</li><li style="box-sizing: border-box; padding: 0px 5px;">59</li><li style="box-sizing: border-box; padding: 0px 5px;">60</li><li style="box-sizing: border-box; padding: 0px 5px;">61</li><li style="box-sizing: border-box; padding: 0px 5px;">62</li><li style="box-sizing: border-box; padding: 0px 5px;">63</li><li style="box-sizing: border-box; padding: 0px 5px;">64</li><li style="box-sizing: border-box; padding: 0px 5px;">65</li><li style="box-sizing: border-box; padding: 0px 5px;">66</li><li style="box-sizing: border-box; padding: 0px 5px;">67</li><li style="box-sizing: border-box; padding: 0px 5px;">68</li><li style="box-sizing: border-box; padding: 0px 5px;">69</li><li style="box-sizing: border-box; padding: 0px 5px;">70</li><li style="box-sizing: border-box; padding: 0px 5px;">71</li><li style="box-sizing: border-box; padding: 0px 5px;">72</li><li style="box-sizing: border-box; padding: 0px 5px;">73</li><li style="box-sizing: border-box; padding: 0px 5px;">74</li><li style="box-sizing: border-box; padding: 0px 5px;">75</li><li style="box-sizing: border-box; padding: 0px 5px;">76</li><li style="box-sizing: border-box; padding: 0px 5px;">77</li><li style="box-sizing: border-box; padding: 0px 5px;">78</li><li style="box-sizing: border-box; padding: 0px 5px;">79</li><li style="box-sizing: border-box; padding: 0px 5px;">80</li><li style="box-sizing: border-box; padding: 0px 5px;">81</li><li style="box-sizing: border-box; padding: 0px 5px;">82</li><li style="box-sizing: border-box; padding: 0px 5px;">83</li><li style="box-sizing: border-box; padding: 0px 5px;">84</li><li style="box-sizing: border-box; padding: 0px 5px;">85</li><li style="box-sizing: border-box; padding: 0px 5px;">86</li></ul><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li><li style="box-sizing: border-box; padding: 0px 5px;">6</li><li style="box-sizing: border-box; padding: 0px 5px;">7</li><li style="box-sizing: border-box; padding: 0px 5px;">8</li><li style="box-sizing: border-box; padding: 0px 5px;">9</li><li style="box-sizing: border-box; padding: 0px 5px;">10</li><li style="box-sizing: border-box; padding: 0px 5px;">11</li><li style="box-sizing: border-box; padding: 0px 5px;">12</li><li style="box-sizing: border-box; padding: 0px 5px;">13</li><li style="box-sizing: border-box; padding: 0px 5px;">14</li><li style="box-sizing: border-box; padding: 0px 5px;">15</li><li style="box-sizing: border-box; padding: 0px 5px;">16</li><li style="box-sizing: border-box; padding: 0px 5px;">17</li><li style="box-sizing: border-box; padding: 0px 5px;">18</li><li style="box-sizing: border-box; padding: 0px 5px;">19</li><li style="box-sizing: border-box; padding: 0px 5px;">20</li><li style="box-sizing: border-box; padding: 0px 5px;">21</li><li style="box-sizing: border-box; padding: 0px 5px;">22</li><li style="box-sizing: border-box; padding: 0px 5px;">23</li><li style="box-sizing: border-box; padding: 0px 5px;">24</li><li style="box-sizing: border-box; padding: 0px 5px;">25</li><li style="box-sizing: border-box; padding: 0px 5px;">26</li><li style="box-sizing: border-box; padding: 0px 5px;">27</li><li style="box-sizing: border-box; padding: 0px 5px;">28</li><li style="box-sizing: border-box; padding: 0px 5px;">29</li><li style="box-sizing: border-box; padding: 0px 5px;">30</li><li style="box-sizing: border-box; padding: 0px 5px;">31</li><li style="box-sizing: border-box; padding: 0px 5px;">32</li><li style="box-sizing: border-box; padding: 0px 5px;">33</li><li style="box-sizing: border-box; padding: 0px 5px;">34</li><li style="box-sizing: border-box; padding: 0px 5px;">35</li><li style="box-sizing: border-box; padding: 0px 5px;">36</li><li style="box-sizing: border-box; padding: 0px 5px;">37</li><li style="box-sizing: border-box; padding: 0px 5px;">38</li><li style="box-sizing: border-box; padding: 0px 5px;">39</li><li style="box-sizing: border-box; padding: 0px 5px;">40</li><li style="box-sizing: border-box; padding: 0px 5px;">41</li><li style="box-sizing: border-box; padding: 0px 5px;">42</li><li style="box-sizing: border-box; padding: 0px 5px;">43</li><li style="box-sizing: border-box; padding: 0px 5px;">44</li><li style="box-sizing: border-box; padding: 0px 5px;">45</li><li style="box-sizing: border-box; padding: 0px 5px;">46</li><li style="box-sizing: border-box; padding: 0px 5px;">47</li><li style="box-sizing: border-box; padding: 0px 5px;">48</li><li style="box-sizing: border-box; padding: 0px 5px;">49</li><li style="box-sizing: border-box; padding: 0px 5px;">50</li><li style="box-sizing: border-box; padding: 0px 5px;">51</li><li style="box-sizing: border-box; padding: 0px 5px;">52</li><li style="box-sizing: border-box; padding: 0px 5px;">53</li><li style="box-sizing: border-box; padding: 0px 5px;">54</li><li style="box-sizing: border-box; padding: 0px 5px;">55</li><li style="box-sizing: border-box; padding: 0px 5px;">56</li><li style="box-sizing: border-box; padding: 0px 5px;">57</li><li style="box-sizing: border-box; padding: 0px 5px;">58</li><li style="box-sizing: border-box; padding: 0px 5px;">59</li><li style="box-sizing: border-box; padding: 0px 5px;">60</li><li style="box-sizing: border-box; padding: 0px 5px;">61</li><li style="box-sizing: border-box; padding: 0px 5px;">62</li><li style="box-sizing: border-box; padding: 0px 5px;">63</li><li style="box-sizing: border-box; padding: 0px 5px;">64</li><li style="box-sizing: border-box; padding: 0px 5px;">65</li><li style="box-sizing: border-box; padding: 0px 5px;">66</li><li style="box-sizing: border-box; padding: 0px 5px;">67</li><li style="box-sizing: border-box; padding: 0px 5px;">68</li><li style="box-sizing: border-box; padding: 0px 5px;">69</li><li style="box-sizing: border-box; padding: 0px 5px;">70</li><li style="box-sizing: border-box; padding: 0px 5px;">71</li><li style="box-sizing: border-box; padding: 0px 5px;">72</li><li style="box-sizing: border-box; padding: 0px 5px;">73</li><li style="box-sizing: border-box; padding: 0px 5px;">74</li><li style="box-sizing: border-box; padding: 0px 5px;">75</li><li style="box-sizing: border-box; padding: 0px 5px;">76</li><li style="box-sizing: border-box; padding: 0px 5px;">77</li><li style="box-sizing: border-box; padding: 0px 5px;">78</li><li style="box-sizing: border-box; padding: 0px 5px;">79</li><li style="box-sizing: border-box; padding: 0px 5px;">80</li><li style="box-sizing: border-box; padding: 0px 5px;">81</li><li style="box-sizing: border-box; padding: 0px 5px;">82</li><li style="box-sizing: border-box; padding: 0px 5px;">83</li><li style="box-sizing: border-box; padding: 0px 5px;">84</li><li style="box-sizing: border-box; padding: 0px 5px;">85</li><li style="box-sizing: border-box; padding: 0px 5px;">86</li></ul>
我们也可以使用qq号码进行在线验证:qqCheckOnline
更多参考
- SOAP 教程
- Web服务编程,REST与SOAP
FROM: http://blog.csdn.net/liang19890820/article/details/51673800