function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

how can i call generated apex class in another class and Trgger?

public class intrigoSoapSforceCom123 {
    public class Response_element {
        public String sapno;
        private String[] sapno_type_info = new String[]{'sapno','','string','0','1','false'};
        private String[] apex_schema_type_info = new String[]{'','false','false'};
        private String[] field_order_type_info = new String[]{'sapno'};
    public class SFDCResponse {
        public intrigoSoapSforceCom123.Response_element[] Response;
        private String[] Response_type_info = new String[]{'Response','','Response_element','1','-1','false'};
        private String[] apex_schema_type_info = new String[]{'','false','false'};
        private String[] field_order_type_info = new String[]{'Response'};
    public class Employee_element {
        public String EmployeeNo;
        public String Ename;
        public String Salary;
        private String[] EmployeeNo_type_info = new String[]{'EmployeeNo','','string','0','1','false'};
        private String[] Ename_type_info = new String[]{'Ename','','string','0','1','false'};
        private String[] Salary_type_info = new String[]{'Salary','','string','0','1','false'};
        private String[] apex_schema_type_info = new String[]{'','false','false'};
        private String[] field_order_type_info = new String[]{'EmployeeNo','Ename','Salary'};
    public class SI_SFDC_OUTPort {
        public String endpoint_x = '
        public Map<String,String> inputHttpHeaders_x;
        public Map<String,String> outputHttpHeaders_x;
        public String clientCertName_x;
        public String clientCert_x;
        public String clientCertPasswd_x;
        public Integer timeout_x;
        private String[] ns_map_type_info = new String[]{'', 'testSoapSforceCom123'};
        public intrigoSoapSforceCom123.Response_element[] SI_SFDC_OUT(testSoapSforceCom123.Employee_element[] Employee) {
            intrigoSoapSforceCom123.SfdcTest_Request request_x = new intrigoSoapSforceCom123.SfdcTest_Request();
            intrigoSoapSforceCom123.SFDCResponse response_x;
            request_x.Employee = Employee;
            Map<String, intrigoSoapSforceCom123.SFDCResponse> response_map_x = new Map<String, intrigoSoapSforceCom123.SFDCResponse>();
            response_map_x.put('response_x', response_x);
              new String[]{endpoint_x,
            response_x = response_map_x.get('response_x');
            return response_x.Response;
    public class SfdcTest_Request {
        public intrigoSoapSforceCom123.Employee_element[] Employee;
        private String[] Employee_type_info = new String[]{'Employee','','Employee_element','1','-1','false'};
        private String[] apex_schema_type_info = new String[]{'','false','false'};
        private String[] field_order_type_info = new String[]{'Employee'};


how can i call generated apex  class in another class?


How to call another class in trigger?


custom object - employee (eno ,ename ,salary)


please help for this code

Ramon PereiraRamon Pereira




so to get this straight, you are trying to call this class generated by WSDL through a Trigger?