wood burning stoves 2.0*
The moose likes Web Services and the fly likes Return Array of JavaBeans with Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Return Array of JavaBeans with Axis2" Watch "Return Array of JavaBeans with Axis2" New topic
Author

Return Array of JavaBeans with Axis2

Cesar Coz
Ranch Hand

Joined: Aug 19, 2010
Posts: 31
Good day to everyone, i hope someone can help me resolving this issue

I'm trying to return a Array of JavaBeans as a result of a Web Service made with Axis2, when i create the web service with the POJO class in the same package there is no problem and the client creates itself with the definition of that POJO inside the Stub.class.

The problem comes when i try to create the web service with the POJO class in another package, there is no problem doing that but when i create the client with my IDE (BTW i'm using Eclipse Helios) i cant find the definition of the POJO class on the Stub.class.

so how the client is suppost to know how to handle the respond? how the client knows is an Array of POJO classes?

Thanks in advance.


Cesar Coz.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Return Array of JavaBeans with Axis2
 
Similar Threads
Axis2 wizard problems in eclipse
jax-ws client different between axis2 eclipse and wsimport.
SOAP Attachment
Need help using annotations with Axis2
Axis 2 tutorial - client class compliation error