高章伟
2022-02-18 8b5f4c6c281cfa548f92de52c8021e37aa81901e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
//Generated by wsdl2apex
 
public class Nfm001Sync {
    public class HTTPS_Port {
        public String endpoint_x = 'https://sfdc-ocm-test.olympus.co.jp/XISOAPAdapter/MessageServlet?senderParty=&senderService=OCM_SFDC_D&receiverParty=&receiverService=&interface=NFM001_Sync_BC2GPI&interfaceNamespace=http%3A%2F%2Folympus.co.jp%2Fgpi%2FNFM001';
        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[]{'http://olympus.co.jp/common/message', 'OlympusCoJpCommonMessage', 'http://olympus.co.jp/gpi/NFM001', 'Nfm001Sync'};
        public OlympusCoJpCommonMessage.LOG_element[] NFM001_Sync_BC2GPI(Nfm001Sync.Endusers_element[] Endusers) {
            Nfm001Sync.NFM001 request_x = new Nfm001Sync.NFM001();
            OlympusCoJpCommonMessage.Response response_x;
            request_x.Endusers = Endusers;
            Map<String, OlympusCoJpCommonMessage.Response> response_map_x = new Map<String, OlympusCoJpCommonMessage.Response>();
            response_map_x.put('response_x', response_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              'http://sap.com/xi/WebService/soap1.1',
              'http://olympus.co.jp/gpi/NFM001',
              'NFM001',
              'http://olympus.co.jp/common/message',
              'Response',
              'OlympusCoJpCommonMessage.Response'}
            );
            System.debug(response_map_x);
            response_x = response_map_x.get('response_x');
            System.debug(response_map_x);
            return response_x.LOG;
        }
    }
    public class Endusers_element {
        public OlympusCoJpCommonMessage.Monitoring Monitoring;
        public Nfm001Sync.Enduser_element[] Enduser;
        private String[] Monitoring_type_info = new String[]{'Monitoring','http://olympus.co.jp/common/message','Monitoring','1','1','false'};
        private String[] Enduser_type_info = new String[]{'Enduser','http://olympus.co.jp/gpi/NFM001','Enduser_element','0','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM001','false','false'};
        private String[] field_order_type_info = new String[]{'Monitoring','Enduser'};
    }
    public class Enduser_element {
        public String CompanyCode;
        public String CompanyDescription;
        public String CompanyDescription2;
        public String CompanyAreaCode;
        public String DepartmentTelephone;
        public String DepartmentFax;
        public String DepartmentPostalCode;
        public String DepartmentAddress;
        public String CompanyCategory;
        public String DepartmentCategory;
        public String DepartmentDescription;
        public String DepartmentCode;
        public String DepartmentEffectiveDateTo;
        public String PurposeOfAdvice;
        private String[] CompanyCode_type_info = new String[]{'CompanyCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] CompanyDescription_type_info = new String[]{'CompanyDescription','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] CompanyDescription2_type_info = new String[]{'CompanyDescription2','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] CompanyAreaCode_type_info = new String[]{'CompanyAreaCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentTelephone_type_info = new String[]{'DepartmentTelephone','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentFax_type_info = new String[]{'DepartmentFax','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentPostalCode_type_info = new String[]{'DepartmentPostalCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentAddress_type_info = new String[]{'DepartmentAddress','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] CompanyCategory_type_info = new String[]{'CompanyCategory','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentCategory_type_info = new String[]{'DepartmentCategory','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentDescription_type_info = new String[]{'DepartmentDescription','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentCode_type_info = new String[]{'DepartmentCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentEffectiveDateTo_type_info = new String[]{'DepartmentEffectiveDateTo','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] PurposeOfAdvice_type_info = new String[]{'PurposeOfAdvice','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM001','false','false'};
        private String[] field_order_type_info = new String[]{'CompanyCode','CompanyDescription','CompanyDescription2','CompanyAreaCode','DepartmentTelephone','DepartmentFax','DepartmentPostalCode','DepartmentAddress','CompanyCategory','DepartmentCategory','DepartmentDescription','DepartmentCode','DepartmentEffectiveDateTo','PurposeOfAdvice'};
    }
    public class NFM001 {
        public Nfm001Sync.Endusers_element[] Endusers;
        private String[] Endusers_type_info = new String[]{'Endusers','http://olympus.co.jp/gpi/NFM001','Endusers_element','1','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM001','false','false'};
        private String[] field_order_type_info = new String[]{'Endusers'};
    }
}