wood burning stoves 2.0*
The moose likes Web Services and the fly likes Nested beans in Axis web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Nested beans in Axis web service" Watch "Nested beans in Axis web service" New topic
Author

Nested beans in Axis web service

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
Hi there

I have an issue with Axis calling nested beans giving me an Invalid element error.

Using the following example:-
Bean 'Order' contains List of beans 'Item' called itemsList
Each bean 'Item' contains List of beans 'Type' called typeList



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?
 
 
subject: Nested beans in Axis web service
 
Similar Threads
Populated UISelect components via Database
How to add a new tag in XML configuration file.
Integrating Spring in an existing servlets project
Why this error?
Anyone ever used Liferay Portal 5.2 Systems Development Book? - I have a problem and cant fix it!