A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Nested beans in Axis web service
Kevin P Smith
Joined: Feb 18, 2005
Mar 18, 2010 04:40:25
I have an issue with Axis calling nested beans giving me an
Using the following example:-
Bean 'Order' contains List of beans 'Item' called itemsList
Each bean 'Item' contains List of beans 'Type' called typeList
Order -- Item ---- Type ---- Type ---- Type -- Item ---- Type -- Item ---- Type ---- Type
It seems that the params in the nested beans such as typeList are not accessable I get the following error:
Invalid element in com.project.beans.Order - typeList
The only way it seems it's possible to make this accessable is by having the params from the nested beans (Item) in the 'parent' bean (Order).
Has anyone any advice on ways round this?
It is sorta covered in the
JavaRanch Style Guide
subject: Nested beans in Axis web service
Why this error?
How to add a new tag in XML configuration file.
Anyone ever used Liferay Portal 5.2 Systems Development Book? - I have a problem and cant fix it!
Populated UISelect components via Database
Integrating Spring in an existing servlets project
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014