[获取webservice适配器返回值]
<p><strong>方法签名:</strong> </p>
<p><code>getWsResult(document)</code></p>
<p><strong>简要描述:</strong> </p>
<ul>
<li>使用了Webservice适配器以后,如果返回值不满足格式不能被合并到document中,那么可以使用该方法获取Webservice适配器的返回值</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">document</td>
<td style="text-align: left;">com.seeyon.v3x.dee.Document</td>
<td style="text-align: left;">当前document对象,脚本中内置了当前任务的document对象,一般不需要变动,可以直接使用</td>
</tr>
</tbody>
</table>
<p><strong>返回值说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Object</td>
<td style="text-align: left;">返回Webservice适配器返回值,一般为String数据类型</td>
</tr>
</tbody>
</table>
<p><strong>使用例子</strong></p>
<pre><code>//事先的Webservice适配器调用后返回了字符串“hello world”
String wsResult = getWsResult(document);
println wsResult;</code></pre>
<p><strong>输出结果</strong></p>
<pre><code>hello world</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>无</li>
</ul>