高章伟
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
//Generated by wsdl2apex
 
public class Nfm106Sync {
    public class GeneralData_element {
        public String SalesOfficeCode;
        public String ContractNo;
        public String EndUserNoorAgentNo;
        public String HospitalName;
        public String ContractDate;
        public String StartDate;
        public String EndDate;
        public String Amount;
        public String FSERemark;
        public String QuotationAmount;
        public String ContractPeriod;
        private String[] SalesOfficeCode_type_info = new String[]{'SalesOfficeCode','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] ContractNo_type_info = new String[]{'ContractNo','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] EndUserNoorAgentNo_type_info = new String[]{'EndUserNoorAgentNo','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] HospitalName_type_info = new String[]{'HospitalName','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] ContractDate_type_info = new String[]{'ContractDate','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] StartDate_type_info = new String[]{'StartDate','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] EndDate_type_info = new String[]{'EndDate','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] Amount_type_info = new String[]{'Amount','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] FSERemark_type_info = new String[]{'FSERemark','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] QuotationAmount_type_info = new String[]{'QuotationAmount','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] ContractPeriod_type_info = new String[]{'ContractPeriod','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM106','false','false'};
        private String[] field_order_type_info = new String[]{'SalesOfficeCode','ContractNo','EndUserNoorAgentNo','HospitalName','ContractDate','StartDate','EndDate','Amount','FSERemark','QuotationAmount','ContractPeriod'};
    }
    public class RepairContractLogin_element {
        public OlympusCoJpCommonMessage.Monitoring Monitoring;
        public Nfm106Sync.GeneralData_element[] GeneralData;
        private String[] Monitoring_type_info = new String[]{'Monitoring','http://olympus.co.jp/gpi/NFM106',null,'1','1','false'};
        private String[] GeneralData_type_info = new String[]{'GeneralData','http://olympus.co.jp/gpi/NFM106',null,'0','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM106','false','false'};
        private String[] field_order_type_info = new String[]{'Monitoring','GeneralData'};
    }
    public class NFM106 {
        public Nfm106Sync.RepairContractLogin_element[] RepairContractLogin;
        private String[] RepairContractLogin_type_info = new String[]{'RepairContractLogin','http://olympus.co.jp/gpi/NFM106',null,'1','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM106','false','false'};
        private String[] field_order_type_info = new String[]{'RepairContractLogin'};
    }
    public class HTTPS_Port {
        public String endpoint_x = 'http://olympus.co.jp/gpi/NFM106';
        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/NFM106', 'Nfm106Sync'};
        public OlympusCoJpCommonMessage.LOG_element[] NFM106_Sync_BC2GPI(Nfm106Sync.RepairContractLogin_element[] RepairContractLogin) {
            Nfm106Sync.NFM106 request_x = new Nfm106Sync.NFM106();
            request_x.RepairContractLogin = RepairContractLogin;
            OlympusCoJpCommonMessage.Response response_x;
            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/NFM106',
              'NFM106',
              'http://olympus.co.jp/common/message',
              'Response',
              'OlympusCoJpCommonMessage.Response'}
            );
            response_x = response_map_x.get('response_x');
            return response_x.LOG;
        }
    }
}