0 Replies Latest reply on Dec 28, 2008 3:03 PM by SkyKim

    How to call Web method with Custom Type?

      how to call a web method of ASP.NET with Custom type parameter.

      Could you give me a flex code or example to calling the following web method?
      public int InsertUser(UserObjectInfo obj){
      //save UserObjectInfo to Database and return id.
      // this defined in .NET side.
      public class UserObjectInfo {
      public string FirstName{ get{}set{}}
      public string LastName{ get{}set{}}

      My concern is how the flex creates proxy class of UserObjectInfo .
      It's easy if the web method accepts only primitive type params. But, my existing web methods are accepting Custom types as most of OOP .NET applications.

      Any comment will helps.
      Thank you.