<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span> changed
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception - Similar to #115710"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131516">bug 131516</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ilmari.lauhakangas@libreoffice.org
</td>
</tr>
<tr>
<td style="text-align:right;">Whiteboard</td>
<td> QA:needsComment
</td>
<td>
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception - Similar to #115710"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131516#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception - Similar to #115710"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131516">bug 131516</a>
from <span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span></b>
<pre>I tried with
Sub Main
svc = createUnoService( "com.sun.star.sheet.FunctionAccess" ) 'Create a service
to use Calc functions
XML_String =
svc.callFunction("WEBSERVICE",array("<a href="http://www.lipsum.com/feed/xml?amount=2&what=paras&start=Yes">http://www.lipsum.com/feed/xml?amount=2&what=paras&start=Yes</a>"))
Lipsum = svc.callFunction("FILTERXML", array(XML_String, "/feed/lipsum" ))
Print Lipsum
End Sub
and it works fine for me.
Maybe there is some glitch in your system.
Arch Linux 64-bit
Version: 6.4.4.2
Build ID: 6.4.4-1
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5;
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>