高章伟
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
//Generated by wsdl2apex
 
public class Nfm103Sync {
    public class NFM103 {
        public Nfm103Sync.RepairRequest_element[] RepairRequest;
        private String[] RepairRequest_type_info = new String[]{'RepairRequest','http://olympus.co.jp/gpi/NFM103',null,'1','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM103','false','false'};
        private String[] field_order_type_info = new String[]{'RepairRequest'};
    }
    public class RepairRequest_element {
        public OlympusCoJpCommonMessage.Monitoring Monitoring;
        public Nfm103Sync.GeneralData_element[] GeneralData;
        private String[] Monitoring_type_info = new String[]{'Monitoring','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] GeneralData_type_info = new String[]{'GeneralData','http://olympus.co.jp/gpi/NFM103',null,'0','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM103','false','false'};
        private String[] field_order_type_info = new String[]{'Monitoring','GeneralData'};
    }
    public class GeneralData_element {
        public String Workshop;
        public String SalesOfficeCode;
        public String EndUserNo;
        public String DepartmentNo;
        public String SAPAgentNo;
        public String RepairOTCode;
        public String RepairModel;
        public String SerialNo;
        public String FailureSymptomDescription;
        public String RepairSource;
        public String CompanyCodeOfEquipment;
        public String ProvinceCodeOfEquipment;
        public String EquipmentFixedAssetNo;
        public String RepairType;
        public String PaperRepairRequestNo;
        public String SFDCRepairNo;
        public String BreakdownStartDate;
        public String FSEReceiveDate;
        public String FSEDeliverDate;
        public String FSEPerson;
        public String FSEPersonEmail;
        public String RecordPersonID;
        public String RecordPersonEmail;
        public String RepairContractObject;
        public String RepairContractNumber;
        public String NewProductGuaranteeObject;
        public String InquiryNo;
        public String ProductDeliveryDate;
        public String InstallationDate;
        public String GuaranteeEndDate;
        public String ReRepairObject;
        public String LastSFDCRepairNo;
        public String RepairCancellationHistory;
        public String LastSFDCRepairCancellationNo;
        public String LastSFDCrepairCancellationReason;
        private String[] Workshop_type_info = new String[]{'Workshop','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] SalesOfficeCode_type_info = new String[]{'SalesOfficeCode','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] EndUserNo_type_info = new String[]{'EndUserNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] DepartmentNo_type_info = new String[]{'DepartmentNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] SAPAgentNo_type_info = new String[]{'SAPAgentNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RepairOTCode_type_info = new String[]{'RepairOTCode','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RepairModel_type_info = new String[]{'RepairModel','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] SerialNo_type_info = new String[]{'SerialNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] FailureSymptomDescription_type_info = new String[]{'FailureSymptomDescription','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RepairSource_type_info = new String[]{'RepairSource','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] CompanyCodeOfEquipment_type_info = new String[]{'CompanyCodeOfEquipment','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] ProvinceCodeOfEquipment_type_info = new String[]{'ProvinceCodeOfEquipment','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] EquipmentFixedAssetNo_type_info = new String[]{'EquipmentFixedAssetNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RepairType_type_info = new String[]{'RepairType','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] PaperRepairRequestNo_type_info = new String[]{'PaperRepairRequestNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] SFDCRepairNo_type_info = new String[]{'SFDCRepairNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] BreakdownStartDate_type_info = new String[]{'BreakdownStartDate','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] FSEReceiveDate_type_info = new String[]{'FSEReceiveDate','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] FSEDeliverDate_type_info = new String[]{'FSEDeliverDate','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] FSEPerson_type_info = new String[]{'FSEPerson','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] FSEPersonEmail_type_info = new String[]{'FSEPersonEmail','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RecordPersonID_type_info = new String[]{'RecordPersonID','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RecordPersonEmail_type_info = new String[]{'RecordPersonEmail','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RepairContractObject_type_info = new String[]{'RepairContractObject','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RepairContractNumber_type_info = new String[]{'RepairContractNumber','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] NewProductGuaranteeObject_type_info = new String[]{'NewProductGuaranteeObject','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] InquiryNo_type_info = new String[]{'InquiryNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] ProductDeliveryDate_type_info = new String[]{'ProductDeliveryDate','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] InstallationDate_type_info = new String[]{'InstallationDate','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] GuaranteeEndDate_type_info = new String[]{'GuaranteeEndDate','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] ReRepairObject_type_info = new String[]{'ReRepairObject','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] LastSFDCRepairNo_type_info = new String[]{'LastSFDCRepairNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] RepairCancellationHistory_type_info = new String[]{'RepairCancellationHistory','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] LastSFDCRepairCancellationNo_type_info = new String[]{'LastSFDCRepairCancellationNo','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] LastSFDCrepairCancellationReason_type_info = new String[]{'LastSFDCrepairCancellationReason','http://olympus.co.jp/gpi/NFM103',null,'1','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM103','false','false'};
        private String[] field_order_type_info = new String[]{'Workshop','SalesOfficeCode','EndUserNo','DepartmentNo','SAPAgentNo','RepairOTCode','RepairModel','SerialNo','FailureSymptomDescription','RepairSource','CompanyCodeOfEquipment','ProvinceCodeOfEquipment','EquipmentFixedAssetNo','RepairType','PaperRepairRequestNo','SFDCRepairNo','BreakdownStartDate','FSEReceiveDate','FSEDeliverDate','FSEPerson','FSEPersonEmail','RecordPersonID','RecordPersonEmail','RepairContractObject','RepairContractNumber','NewProductGuaranteeObject','InquiryNo','ProductDeliveryDate','InstallationDate','GuaranteeEndDate','ReRepairObject','LastSFDCRepairNo','RepairCancellationHistory','LastSFDCRepairCancellationNo','LastSFDCrepairCancellationReason'};
    }
    public class HTTPS_Port {
        public String endpoint_x = 'https://pid0t.is.olympus.global:50001/XISOAPAdapter/MessageServlet?senderParty=&senderService=OCM_SFDC_D&receiverParty=&receiverService=&interface=NFM103_Sync_BC2GPI&interfaceNamespace=http%3A%2F%2Folympus.co.jp%2Fgpi%2FNFM103';
        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/NFM103', 'Nfm103Sync'};
        public OlympusCoJpCommonMessage.LOG_element[] NFM103_Sync_BC2GPI(Nfm103Sync.RepairRequest_element[] RepairRequest) {
            Nfm103Sync.NFM103 request_x = new Nfm103Sync.NFM103();
            request_x.RepairRequest = RepairRequest;
            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/NFM103',
              'NFM103',
              'http://olympus.co.jp/common/message',
              'Response',
              'OlympusCoJpCommonMessage.Response'}
            );
            response_x = response_map_x.get('response_x');
            return response_x.LOG;
        }
    }
}