+ Start a Discussion
ashok  45ashok 45 

Cant find the method in wsdl class?

Hi All,
 Iam new to soap integration. I have generated this class from WSDL file, I have to pass the Currentdate,BD,BDtype,restrictions into this class but i am confusing to find out method?
  can you help me in this?
  public class generatdclass
   public class CandAllows {
        public String CurrentDate;
        public String BD
        public String BDType;
        public wwwsampleendpointcom.ArrayOfAllows Allows;
        private String[] CurrentDate_type_info = new String[]{'CurrentDate','http://www.Samplendpoint.com/se/',null,'0','1','true'};
        private String[] BD_type_info = new String[]{'BD','http://www.Samplendpoint.com/se/',null,'0','1','true'};
        private String[] BDType_type_info = new String[]{'BDType','http://www.Samplendpoint.com/se/',null,'0','1','true'};
        private String[] Allows_type_info = new String[]{'Allows','http://www.Samplendpoint.com/se/null,'0','1','true'};
        private String[] apex_schema_type_info = new String[]{'http://www.Samplendpoint.com/se/','true','false'};
        private String[] field_order_type_info = new String[]{'CurrentDate','BD','BDType','Allows'};
generatdclass.CandAllows  obj = new generatdclass.CandAllows();
obj.CurrentDate = String.valueOf(Date.Today());
obj.BD = 'Mark as best Ansewer';
obj.BDType= 'Amazing';
ashok  45ashok 45
thanks Anup,
         but  what about ''Allows'' in  private String[] field_order_type_info = new String[]{'CurrentDate','BD','BDType','Allows'};

this is my another class and how can i pass the values of Allows. can you look into this snippet.

public class wwwsampleendpointcom
 public class ArrayOfAllows
  public wwwGskComCrr.AllowsFilter[] AllowFilter;
  private String[] apex_schema_type_info = new String[]{'http://samplendpoint.com/se/','true','false'};
  private String[] field_order_type_info = new String[]{'AllowFilter'};