This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nested beans in Axis web service