I'm working on an example for my own purposes. Perhaps we can work together...
I'm working on the Service side for now here is my attempt at returning a JavaBean/POJO as well as a List/collection of those POJOs Note: this isn't currently working but might help us move in the same direction: @WebService(name = "POJOService", | targetNamespace="http://com.burrsutter.jbossws/pojoservice")@SOAPBinding(style = SOAPBinding.Style.RPC) | public class POJOService { | @WebMethod(operationName="GetPersonByID") | public Person getPerson(String id) | { | System.out.println("Looking for " + id); | Person somebody = new Person(); | somebody.setName("Burr Sutter"); | somebody.setAge(24); | somebody.setBirthDate(new java.util.Date()); | return somebody; | } | @WebMethod (operationName="GetAllPeople") | public List<Person> getPeople() { | List<Person> results = new ArrayList<Person>(); | Person a = new Person(); | a.setName("Burr Sutter"); | a.setAge(24); | a.setBirthDate(new java.util.Date()); | results.add(a); | Person b = new Person(); | b.setName("Thomas Diesler"); | b.setAge(23); | b.setBirthDate(new java.util.Date()); | results.add(b); | return results; | } | } What do you think? Burr [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945639#3945639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945639 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user