Hello, I'm very noob on WS, so, excuse me in advance. I wish to submit several Users in one soap request. Let's say that a user is :
@Entity | @Name("user") | public class User implements Serializable | { | | private int id; | private String uid; | | public User(){} | | @Id | public int getId() | { | return id; | } | | public void setId(int id) | { | this.id = id; | } | | public String getUid() | { | return uid; | } | | public void setUid(String uid) | { | this.uid = uid; | } | | } Is such web method allowed? @Stateless | @WebService(name = "UserService", serviceName = "UserService") | public class UserService implements UserServiceRemote | { | | @Logger | private static Log log; | | @WebMethod | @WebResult(name="count") | public int countUsers ( | @WebParam(name="users") User[] users){ | return users.length; | } | | } In soapUi, i'm abble to build easily a soap envelope wich return the exact count of users, but in PHP (nusoap or php5lib), the parser never build the correct enveloppe. So i have some doubts on the validity of my service. (i have to try a java client too). Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102886#4102886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102886 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user