AXIS2.NET Client Web Service creates properties "Defined"

When you call an AXIS2 1.6.2 Java web service built using Eclipse 4.2 from visual studio 2008, the code generated by each object includes an additional Boolean property ending "Specified" for all non-string parameters. Then I have to install it in Tour. Otherwise, when it hits the server, the parameter is null. it is very annoying that I have to install it every time. Any way to get around this?

For example:

public Customer {
    public String name {
        get;
        set;
    }
    public int? age {
      get;
      set;
    }
    public bool ageSpecified {
      get;
      set;
    }
}

      

+3


source to share





All Articles