Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Return Array of JavaBeans with Axis2

 
Cesar Coz
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic