RMI error with JavaBean parameter

From: Patricio Crowley <wscrowley_at_YAHOO.COM.AR>
Date: Mon, 23 Dec 2002 14:19:05 -0300

My webservice xx have a parameter user ,

String xx (User user);

Class User

public class User {

     private String name;

     private String email;

  public User() {


   public String getEmail() {

    return email;


  public void setEmail(String email) { = email;


  public String getName() {

    return nombre;


  public void setName(String nombre) {

    this.nombre = nombre;


I use a proxy Client

Using ant , I deploy a service , and works ok . But after make ant build-dynamic , when I make ant run , the following error arises

[java] java.rmi.ServerException: Internal Server Error (deserialization error: unexpected XML reader state. expected: END but found: START: nombre)

When I prove the tutorial examples , sayHello (Proxy) , all works ok.

The problem is that the parameter no is a simple Type ???

Thanks , in advance for any help

Y! Messenger en tu celular: prob? el nuevo Yahoo! Messenger para SMS aqu?