<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Getting a list as a result from an ivy webservice</title><link>https://answers.axonivy.com/questions/621/getting-a-list-as-a-result-from-an-ivy-webservice</link><description>&lt;p&gt;I created a webservice in ivy, which requests a string as input parameter and returns as result a string and a list (of a custom data class Betreibung).&lt;/p&gt;
&lt;p&gt;I can call this webservice from another ivy project and save the result in corresponding attributes. But as I can only save the list result "as List" and not "as List&amp;lt;betreibung&amp;gt;", every resulting List element is not of the class "Betreibung" but of the class "namespace.unknown.Betreibung". For this reason I cannot use the saved list entries later on.&lt;/p&gt;
&lt;p&gt;I created a short video to clarify my problem (in german only):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;http://youtu.be/qWRUfq9i-xo?hd=1
&lt;/code&gt;&lt;/pre&gt;</description><atom:link href="https://answers.axonivy.com/questions/621/getting-a-list-as-a-result-from-an-ivy-webservice" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 11 Apr 2014 08:00:43 -0400</lastBuildDate><item><title>Answer by Daniel Oechslin</title><link>https://answers.axonivy.com/questions/621/getting-a-list-as-a-result-from-an-ivy-webservice/626</link><description>&lt;p&gt;Hi Björn&lt;/p&gt;
&lt;p&gt;If you use a webservice make sure to have an identical dataclass in your client and your server application. In your case you should have a copy of "Betreibung" in both, your server and your client.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Oechslin</dc:creator><pubDate>Fri, 11 Apr 2014 08:00:43 -0400</pubDate><guid>https://answers.axonivy.com/questions/621/getting-a-list-as-a-result-from-an-ivy-webservice/626</guid></item></channel></rss>