Passing Objects in Web Services..

I need to pass an object that I create back to the client calling the web service. I am using the SJSE wizard to create the web service. When I go to supply an input parm/attribute using the wizard, the only options are primitives and String. I need to be able to pass my own object back and forth. Is there a good example of this out there.. using SJSE.

I know it can be done with AXIS outside of SJSE. I'm wanting an easier way.

J

[453 byte] By [jurban] at [2007-11-26 10:29:17]
# 1

One solution could be to use axis with ide:

http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=55589

http://forum.sun.com/jive/thread.jspa?forumID=122&threadID=96801

http://coding.mu/archives/2005/08/26/using-apache-axis-in-netbeans-50/

Or you could create a HashSet of objects that are accessible via string keys...

KarthikR at 2007-7-7 2:34:55 > top of Java-index,Development Tools,Java Tools...