After I have worked hard for trying to use XFire Web service to be the server’s end point of my AIR project. I have realize that XFire will generate complexType’s attribute if you following to declare that serialization class to have getter/setter method for every attribute. like below

class Sample{
public String username; // public accessor for Flex passing value
public String password; // public accessor for Flex passing value

public Sample() { } // required for common web service serialization

public String getUsername() { return this.username; }
public String getPassword() { return this.password; }

public void setUsername( value : String ) { this.username = value; }
public void setPassword( value : String ) { this.password = value; }

}

Related posts:

  1. Adobe AIR and .NET Web service’s complextype
  2. Adobe AIR and .NET Web service’s complextype
  3. Flex’s Date class and .NET Web service DateTime class
  4. Flex’s Date class and .NET Web service DateTime class
  5. AIR with .NET web service – custom attribute