Write a DTO layer. Web services is a loosely coupled system. You
should not be attempting to use the same BOs on client and server.

On 2/12/07, Faheem Sohail <[EMAIL PROTECTED]> wrote:




I am using try to expose hibernate generated BOs via webservices to Java
webservice clients. I want to use the same BOs on both the server and client
side. However, apache axis's java2wsdl converts Set to Object[] thus
creating a new object on the client side. Also, in most cases, the
webservice doesn't deploy at all if it has a Set definition in it. I want to
avoid writing a DTO layer. Any ideas?





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to