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).

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<betreibung>", 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.

I created a short video to clarify my problem (in german only):

http://youtu.be/qWRUfq9i-xo?hd=1

asked 09.04.2014 at 11:40

Bj%C3%B6rn's gravatar image

Björn
368913
accept rate: 100%

edited 09.04.2014 at 11:41


Hi Björn

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.

link

answered 11.04.2014 at 08:00

Daniel%20Oechslin's gravatar image

Daniel Oechslin
44271119
accept rate: 36%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×35
×5

Asked: 09.04.2014 at 11:40

Seen: 891 times

Last updated: 11.04.2014 at 08:00