From fa4d9bfb15f40eb011d0d0f6f57ca56daeea9164 Mon Sep 17 00:00:00 2001 From: zpl Date: Fri, 27 Aug 2021 17:07:54 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E8=BD=A6=E9=97=B4=E5=8F=91=E6=96=99PDA?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9D=90=E8=B4=A8=E3=80=81=E8=A7=84=E6=A0=BC?= =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2=EF=BC=8C=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=88=97=E6=96=B0=E5=A2=9E=E9=9C=80=E6=B1=82=E4=BB=B6=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/CallItemController.java | 4 +++- .../mesnac/dispatch/dto/IssueItemDto.java | 18 ++++++++++++++++++ .../service/impl/CallItemServiceImpl.java | 2 ++ .../main/resources/mapper/CallItemMapper.xml | 16 ++++++++++++++++ 4 files changed, 39 insertions(+), 1 deletion(-) diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/CallItemController.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/CallItemController.java index 29cc8a78..87e4d075 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/CallItemController.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/CallItemController.java @@ -294,7 +294,7 @@ public class CallItemController { */ @ResponseBody @GetMapping("/findIssueItemListPda") - public R findIssueItemListPda(String workCenter, String resource, String item,String requiredFromDate, String requiredToDate, Boolean matchResource) { + public R findIssueItemListPda(String workCenter, String resource, String item,String spec,String texture,String requiredFromDate, String requiredToDate, Boolean matchResource) { List result; try { String site = CommonMethods.getSite(); @@ -306,6 +306,8 @@ public class CallItemController { issueItemDto.setWorkCenter(workCenter); issueItemDto.setMatchResource(matchResource); issueItemDto.setItem(item); + issueItemDto.setSpec(spec); + issueItemDto.setTexture(texture); if (StringUtil.notBlank(requiredFromDate)) { issueItemDto.setRequiredFromDT(LocalDate.parse(requiredFromDate, DateTimeFormatter.ISO_DATE)); } diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/dto/IssueItemDto.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/dto/IssueItemDto.java index b9629770..090485fe 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/dto/IssueItemDto.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/dto/IssueItemDto.java @@ -15,6 +15,8 @@ public class IssueItemDto implements Serializable { private Boolean matchResource; private LocalDate requiredFromDT; private LocalDate requiredToDT; + private String spec; + private String texture; public String getSite() { return site; @@ -95,4 +97,20 @@ public class IssueItemDto implements Serializable { public void setRequiredToDT(LocalDate requiredToDT) { this.requiredToDT = requiredToDT; } + + public String getSpec() { + return spec; + } + + public void setSpec(String spec) { + this.spec = spec; + } + + public String getTexture() { + return texture; + } + + public void setTexture(String texture) { + this.texture = texture; + } } diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java index c0b16de0..d8737b61 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/CallItemServiceImpl.java @@ -453,6 +453,8 @@ public class CallItemServiceImpl extends ServiceImpl i String component = callItem.getItem(); String itemGroup = callItem.getItemGroup(); BigDecimal reqQty = callItem.getDispatchQty(); + // 需求件数 + callItem.setDispatchQty(reqQty); String blankingSize = callItem.getBlankingSize(); if (StringUtil.isBlank(blankingSize)) { diff --git a/dispatch/src/main/resources/mapper/CallItemMapper.xml b/dispatch/src/main/resources/mapper/CallItemMapper.xml index 03bfeff7..daf51181 100644 --- a/dispatch/src/main/resources/mapper/CallItemMapper.xml +++ b/dispatch/src/main/resources/mapper/CallItemMapper.xml @@ -1032,6 +1032,8 @@ LEFT JOIN WORK_CENTER_T WCT ON WCT.WORK_CENTER_BO = WC.HANDLE AND WCT.LOCALE = 'zh' LEFT JOIN ITEM I ON I.HANDLE = ZCI.COMPONENT_BO LEFT JOIN ITEM_T IT ON IT.ITEM_BO = I.HANDLE AND IT.LOCALE = 'zh' + LEFT JOIN CUSTOM_FIELDS CFA ON CFA.HANDLE = I.HANDLE AND CFA."ATTRIBUTE" = 'MAT_SPEC' + LEFT JOIN CUSTOM_FIELDS CFB ON CFB.HANDLE = I.HANDLE AND CFB."ATTRIBUTE" = 'TEXTTURE' LEFT JOIN ITEM_GROUP_MEMBER IGM ON IGM.ITEM_BO = ZCI.COMPONENT_BO LEFT JOIN ITEM_GROUP IG ON IG.HANDLE = IGM.ITEM_GROUP_BO WHERE ZCI.CALL_TYPE = 'MATERIAL' AND ZCI.STATUS = '802' AND ZCI.SITE = #{site} @@ -1050,6 +1052,12 @@ AND ZCI.REQUIRED_DATE_TIME <= #{requiredToDT} + + AND CFA.VALUE LIKE '%' || #{spec} || '%' + + + AND CFB.VALUE LIKE '%' || #{texture} || '%' + GROUP BY ZCI.COMPONENT_BO ,ZSD.WORK_CENTER ,WCT.DESCRIPTION ,I.ITEM ,IT.DESCRIPTION ,ZSD.BLANKING_SIZE ,IG.ITEM_GROUP ORDER BY ZCI.COMPONENT_BO @@ -1065,6 +1073,8 @@ LEFT JOIN WORK_CENTER_T WCT ON WCT.WORK_CENTER_BO = WC.HANDLE AND WCT.LOCALE = 'zh' LEFT JOIN ITEM I ON I.HANDLE = ZCI.COMPONENT_BO LEFT JOIN ITEM_T IT ON IT.ITEM_BO = I.HANDLE AND IT.LOCALE = 'zh' + LEFT JOIN CUSTOM_FIELDS CFA ON CFA.HANDLE = I.HANDLE AND CFA."ATTRIBUTE" = 'MAT_SPEC' + LEFT JOIN CUSTOM_FIELDS CFB ON CFB.HANDLE = I.HANDLE AND CFB."ATTRIBUTE" = 'TEXTTURE' LEFT JOIN ITEM_GROUP_MEMBER IGM ON IGM.ITEM_BO = ZCI.COMPONENT_BO LEFT JOIN ITEM_GROUP IG ON IG.HANDLE = IGM.ITEM_GROUP_BO LEFT JOIN RESRCE R ON R.RESRCE = ZCI.RESRCE AND R.SITE = ZCI.SITE @@ -1084,6 +1094,12 @@ AND ZCI.REQUIRED_DATE_TIME <= #{requiredToDT} + + AND CFA.VALUE LIKE '%' || #{spec} || '%' + + + AND CFB.VALUE LIKE '%' || #{texture} || '%' + GROUP BY ZCI.COMPONENT_BO ,ZSD.WORK_CENTER ,WCT.DESCRIPTION ,I.ITEM ,IT.DESCRIPTION ,ZSD.BLANKING_SIZE ,IG.ITEM_GROUP , ZCI.RESRCE, R.DESCRIPTION ORDER BY ZCI.COMPONENT_BO From eecc81755f42072cfcb6ff6a20f4164be229e089 Mon Sep 17 00:00:00 2001 From: zpl Date: Sun, 29 Aug 2021 19:38:26 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E5=90=8C=E4=B8=80=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E4=B8=8D=E7=BB=B4=E6=8A=A4=E7=9B=B8=E5=90=8C=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=82=B9=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- equip/src/main/resources/mapper/ResourceInspectTaskMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/equip/src/main/resources/mapper/ResourceInspectTaskMapper.xml b/equip/src/main/resources/mapper/ResourceInspectTaskMapper.xml index cfebf0b7..d5debda4 100644 --- a/equip/src/main/resources/mapper/ResourceInspectTaskMapper.xml +++ b/equip/src/main/resources/mapper/ResourceInspectTaskMapper.xml @@ -731,7 +731,8 @@ From 64da93ed437deee3798de7bd0b64163812c38b36 Mon Sep 17 00:00:00 2001 From: zpl Date: Mon, 30 Aug 2021 10:53:49 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E6=98=AF=E5=90=A6=E7=82=B9=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meapi/src/main/resources/mapper/ResrceMapper.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meapi/src/main/resources/mapper/ResrceMapper.xml b/meapi/src/main/resources/mapper/ResrceMapper.xml index beea997e..ccfef860 100644 --- a/meapi/src/main/resources/mapper/ResrceMapper.xml +++ b/meapi/src/main/resources/mapper/ResrceMapper.xml @@ -611,4 +611,12 @@ GROUP BY RS.HANDLE, RS.SITE, RS.RESRCE, RS.DESCRIPTION, RS.STATUS_BO, RS.PROCESS_RESOURCE, RS.OPERATION_BO, RS.VALID_FROM, RS.VALID_TO, RS.SETUP_STATE, RS.CREATED_DATE_TIME, RS.MODIFIED_DATE_TIME + + + + From 0908199135fec46526b563a97bdb26b4378faaa8 Mon Sep 17 00:00:00 2001 From: Leon <3066758958@qq.com> Date: Mon, 30 Aug 2021 11:06:03 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/foreverwin/mesnac/common/erp/saperp.wsdl | 2 +- console/src/main/resources/application-prd.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl b/common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl index aa49348f..c8e0e264 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl @@ -176,7 +176,7 @@ - + \ No newline at end of file diff --git a/console/src/main/resources/application-prd.yml b/console/src/main/resources/application-prd.yml index 0ad6c415..d2fb803a 100644 --- a/console/src/main/resources/application-prd.yml +++ b/console/src/main/resources/application-prd.yml @@ -9,7 +9,7 @@ spring: jndi-name: jdbc/jts/wipPool activemq: enabled: true - brokerUrl: tcp://172.16.251.166:61616?wireFormat.maxInactivityDuration=0 + brokerUrl: tcp://172.16.170.166:61616?wireFormat.maxInactivityDuration=0 password: admin user: admin pool: @@ -18,7 +18,7 @@ spring: #发送消息 activemq: - brokerUrl: tcp://172.16.251.164:61616?wireFormat.maxInactivityDuration=0 + brokerUrl: tcp://172.16.170.164:61616?wireFormat.maxInactivityDuration=0 password: admin user: admin pool: @@ -32,18 +32,18 @@ ws: port: 8000 user: mes001 pwd: mesprd - valid: N + valid: Y #ftp ftp: - host: 172.16.251.165 + host: 172.16.170.165 port: 21 username: mesftp password: mesnac1@3 #打印服务 print: - server: http://10.10.170.32:8022/print/mesnacprint + server: http://172.16.170.165:8022/print/mesnacprint #文件模板路径 exportDocument: From a2f9e5ffb80cbd68fd622a2de40cddc53a6703bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=98=89=E4=BC=9F?= <1724121454@qq.com> Date: Mon, 30 Aug 2021 11:31:31 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E5=BC=82=E5=B8=B8BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/AbnormalBillLogServiceImpl.java | 2 ++ .../service/impl/AbnormalBillServiceImpl.java | 7 ++++--- .../foreverwin/mesnac/meapi/dto/ShopOrderDto.java | 14 ++++++++++++++ .../src/main/resources/mapper/ShopOrderMapper.xml | 3 ++- .../quality/model/InspectionTaskManage.java | 9 +++++++++ .../mesnac/quality/model/SelfReport.java | 15 +++++++++++++++ .../mapper/InspectionTaskManageMapper.xml | 4 +++- .../main/resources/mapper/SelfReportMapper.xml | 3 ++- 8 files changed, 51 insertions(+), 6 deletions(-) diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java index 8ade73d2..3c9eec5b 100644 --- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java +++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java @@ -162,6 +162,8 @@ public class AbnormalBillLogServiceImpl extends ServiceImpl 0){ + abnormalNcCodeService.saveOrUpdateBatch(abnormalNcCodes); + } abnormalBillDisposeService.saveOrUpdate(abnormalBillDispose); this.saveOrUpdate(abnormalBill); /** diff --git a/meapi/src/main/java/com/foreverwin/mesnac/meapi/dto/ShopOrderDto.java b/meapi/src/main/java/com/foreverwin/mesnac/meapi/dto/ShopOrderDto.java index bdac713a..811a7269 100644 --- a/meapi/src/main/java/com/foreverwin/mesnac/meapi/dto/ShopOrderDto.java +++ b/meapi/src/main/java/com/foreverwin/mesnac/meapi/dto/ShopOrderDto.java @@ -28,6 +28,12 @@ public class ShopOrderDto extends ShopOrder { */ private String workCenter; + /** + * 图号 + * @return + */ + private String map; + public String getWorkOrder() { return workOrder; } @@ -59,4 +65,12 @@ public class ShopOrderDto extends ShopOrder { public void setWorkCenter(String workCenter) { this.workCenter = workCenter; } + + public String getMap() { + return map; + } + + public void setMap(String map) { + this.map = map; + } } diff --git a/meapi/src/main/resources/mapper/ShopOrderMapper.xml b/meapi/src/main/resources/mapper/ShopOrderMapper.xml index 0f9ab9d5..6939953b 100644 --- a/meapi/src/main/resources/mapper/ShopOrderMapper.xml +++ b/meapi/src/main/resources/mapper/ShopOrderMapper.xml @@ -1009,11 +1009,12 @@ diff --git a/quality/src/main/java/com/foreverwin/mesnac/quality/model/InspectionTaskManage.java b/quality/src/main/java/com/foreverwin/mesnac/quality/model/InspectionTaskManage.java index 829229ee..50a8e14c 100644 --- a/quality/src/main/java/com/foreverwin/mesnac/quality/model/InspectionTaskManage.java +++ b/quality/src/main/java/com/foreverwin/mesnac/quality/model/InspectionTaskManage.java @@ -29,6 +29,7 @@ public class InspectionTaskManage implements Serializable { private LocalDateTime createdDateTime; private String modifyUser; private LocalDateTime modifiedDateTime; + private String fullName; private List inspectionTaskDetailList; @@ -215,4 +216,12 @@ public class InspectionTaskManage implements Serializable { public void setInspectionTaskDetailList(List inspectionTaskDetailList) { this.inspectionTaskDetailList = inspectionTaskDetailList; } + + public String getFullName() { + return fullName; + } + + public void setFullName(String fullName) { + this.fullName = fullName; + } } diff --git a/quality/src/main/java/com/foreverwin/mesnac/quality/model/SelfReport.java b/quality/src/main/java/com/foreverwin/mesnac/quality/model/SelfReport.java index bf6b6302..1ed34e6e 100644 --- a/quality/src/main/java/com/foreverwin/mesnac/quality/model/SelfReport.java +++ b/quality/src/main/java/com/foreverwin/mesnac/quality/model/SelfReport.java @@ -151,6 +151,13 @@ public class SelfReport extends Model { @TableField(exist = false) private String productCategory; + /** + * 传过去的User + * @return + */ + @TableField(exist = false) + private String pbUser; + public String getProductCategory() { return productCategory; } @@ -343,6 +350,14 @@ public class SelfReport extends Model { this.description = description; } + public String getPbUser() { + return pbUser; + } + + public void setPbUser(String pbUser) { + this.pbUser = pbUser; + } + public static final String HANDLE = "HANDLE"; public static final String SITE = "SITE"; diff --git a/quality/src/main/resources/mapper/InspectionTaskManageMapper.xml b/quality/src/main/resources/mapper/InspectionTaskManageMapper.xml index 68b442df..04924cc9 100644 --- a/quality/src/main/resources/mapper/InspectionTaskManageMapper.xml +++ b/quality/src/main/resources/mapper/InspectionTaskManageMapper.xml @@ -25,15 +25,17 @@ + - SELECT ZSR.HANDLE, ZSR.SITE, ZSR.TASK_NO, ZSR.WORK_CENTER,ZSR.NC_CODE_DESC, ZSR.SHOP_ORDER, ZSR.ITEM, ZSR.OP_STEP, ZSR.RESRCE, ZSR.SFC, ZSR.NC_CODE, ZSR.NC_QTY, ZSR.LOCATION, ZSR.STATE, ZSR.REMARK, B.FULL_NAME CREATE_USER,ZSR. CREATED_DATE_TIME,IT.DESCRIPTION FROM Z_SELF_REPORT ZSR + SELECT ZSR.HANDLE, ZSR.SITE, ZSR.TASK_NO, ZSR.WORK_CENTER,ZSR.NC_CODE_DESC, ZSR.SHOP_ORDER, ZSR.ITEM, ZSR.OP_STEP, ZSR.RESRCE, ZSR.SFC, ZSR.NC_CODE, ZSR.NC_QTY, ZSR.LOCATION, ZSR.STATE, ZSR.REMARK, B.FULL_NAME CREATE_USER,ZSR. CREATED_DATE_TIME,IT.DESCRIPTION,ZSR.CREATE_USER PB_USER FROM Z_SELF_REPORT ZSR JOIN ITEM I ON I.ITEM = ZSR.ITEM AND I.CURRENT_REVISION='true' LEFT JOIN ITEM_T IT ON I.HANDLE = IT.ITEM_BO AND IT.LOCALE = #{locale} LEFT JOIN Z_NWA_USER B ON ZSR.SITE = B.SITE AND ZSR.CREATE_USER = B.USER_NAME From e6ed48822b194c82c3b0d2bcaa73b081e57eabb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=98=89=E4=BC=9F?= <1724121454@qq.com> Date: Mon, 30 Aug 2021 13:06:11 +0800 Subject: [PATCH 06/11] =?UTF-8?q?=E5=BC=82=E5=B8=B8BUG=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/anomaly/controller/AbnormalBillController.java | 2 ++ anomaly/src/main/resources/mapper/AbnormalBillMapper.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java index ce4ac105..89162c43 100644 --- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java +++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java @@ -12,6 +12,7 @@ import com.foreverwin.mesnac.common.service.SfcDispatchCommonService; import com.foreverwin.mesnac.meapi.service.NcCodeService; import com.foreverwin.modular.core.util.FrontPage; import com.foreverwin.modular.core.util.R; +import com.sap.me.frame.service.CommonMethods; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @@ -78,6 +79,7 @@ public class AbnormalBillController { public R page(FrontPage frontPage, AbnormalBill abnormalBill){ IPage result; QueryWrapper queryWrapper = new QueryWrapper<>(); + abnormalBill.setSite(CommonMethods.getSite()); queryWrapper.setEntity(abnormalBill); if (frontPage.getGlobalQuery() != null && !"".equals(frontPage.getGlobalQuery().trim())) { //TODO modify global query diff --git a/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml b/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml index 7d304651..4898d922 100644 --- a/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml +++ b/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml @@ -437,12 +437,12 @@ AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime} - ${ew.sqlSegment} + AND ${ew.sqlSegment} - ${ew.sqlSegment} + AND ${ew.sqlSegment} From 0da1689c1a2eee2d4319a44fa344cc98b7ab2ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=98=89=E4=BC=9F?= <1724121454@qq.com> Date: Mon, 30 Aug 2021 15:32:05 +0800 Subject: [PATCH 07/11] =?UTF-8?q?=E6=8A=A5=E5=BA=9F=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/production/service/impl/SfcScrapServiceImpl.java | 2 +- production/src/main/resources/mapper/SfcScrapMapper.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/SfcScrapServiceImpl.java b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/SfcScrapServiceImpl.java index 2d545a37..b4ea1a2f 100644 --- a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/SfcScrapServiceImpl.java +++ b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/SfcScrapServiceImpl.java @@ -159,7 +159,7 @@ public class SfcScrapServiceImpl extends ServiceImpl i sfcScrap.setModifiedDateTime(now); //向生产派工那边发送数据 - podTemplateService.sendErp(sfcScrap.getSfc(),sfcScrap.getStepId(),BigDecimal.valueOf(0L),BigDecimal.valueOf(sfcScrap.getQty()),BigDecimal.valueOf(0L)); + // podTemplateService.sendErp(sfcScrap.getSfc(),sfcScrap.getStepId(),BigDecimal.valueOf(0L),BigDecimal.valueOf(sfcScrap.getQty()),BigDecimal.valueOf(0L)); try{ //调用mes公共接口,报废 diff --git a/production/src/main/resources/mapper/SfcScrapMapper.xml b/production/src/main/resources/mapper/SfcScrapMapper.xml index f1594657..0c958e80 100644 --- a/production/src/main/resources/mapper/SfcScrapMapper.xml +++ b/production/src/main/resources/mapper/SfcScrapMapper.xml @@ -436,7 +436,7 @@ CASE WHEN I1.VALUE != NULL THEN NVL(I1.VALUE * I.QTY_MULTIPLIER,0) WHEN I2.VALUE != NULL THEN NVL(I2.VALUE * I.QTY_MULTIPLIER,0) ELSE NVL(I.QTY_MULTIPLIER,0) END WEIGHT,NVL(I.ITEM,' ') ITEM,NVL(S.SFC,' ') SFC,NVL(it.DESCRIPTION,' ') ITEM_DESCRIPTION, - NVL(SO.SHOP_ORDER,' ') SHOP_ORDER,NVL(ZSS.DUTY_USER,' ') DUTY_USER + NVL(SO.SHOP_ORDER,' ') SHOP_ORDER,NVL(ZNU.FULL_NAME,' ') DUTY_USER FROM SHOP_ORDER SO LEFT JOIN WORK_CENTER WC ON SO.PLANNED_WORK_CENTER_BO = WC.HANDLE @@ -448,6 +448,7 @@ LEFT JOIN OPERATION O ON O.OPERATION = ZSS.OPERATION AND O.SITE = SO.SITE LEFT JOIN OPERATION_T OT ON OT.OPERATION_BO = O.HANDLE AND OT.LOCALE = #{locale} LEFT JOIN ITEM I ON I.HANDLE = SO.PLANNED_ITEM_BO + LEFT JOIN Z_NWA_USER ZNU ON ZNU.USER_NAME = ZSS.DUTY_USER LEFT JOIN ITEM_T it ON it.ITEM_BO = I.HANDLE AND it.LOCALE = #{locale} LEFT JOIN CUSTOM_FIELDS I1 ON I1.HANDLE = I.HANDLE AND I1."ATTRIBUTE" = 'PER_METER' LEFT JOIN CUSTOM_FIELDS I2 ON I2.HANDLE = I.HANDLE AND I2."ATTRIBUTE" = 'PER_SQUARE_METER' From ece142b8182ba32a75f83ee62ca1f3e3efe78f16 Mon Sep 17 00:00:00 2001 From: Leon <3066758958@qq.com> Date: Mon, 30 Aug 2021 15:58:03 +0800 Subject: [PATCH 08/11] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83ERP?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ZWS_ZMES_PRODORDCONF_BindingStub.java | 253 +++++++++ .../prodErp/ZWS_ZMES_PRODORDCONF_Service.java | 16 + .../ZWS_ZMES_PRODORDCONF_ServiceLocator.java | 142 +++++ .../common/prodErp/ZprodordconfStruIn.java | 479 ++++++++++++++++ .../common/prodErp/ZprodordconfStruOut.java | 515 ++++++++++++++++++ .../common/prodErp/Zws_zmes_PRODORDCONF.java | 12 + .../mesnac/common/prodErp/document.wsdl | 1 + .../TableOfZprodordconfStruInHolder.java | 20 + .../TableOfZprodordconfStruOutHolder.java | 20 + .../holders/ZprodordconfStruInHolder.java | 20 + .../holders/ZprodordconfStruOutHolder.java | 20 + .../foreverwin/mesnac/common/util/ERPAPI.java | 4 +- .../src/main/resources/application-prd.yml | 2 +- 13 files changed, 1501 insertions(+), 3 deletions(-) create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java new file mode 100644 index 00000000..6c1a70ce --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java @@ -0,0 +1,253 @@ +/** + * ZWS_ZMES_PRODORDCONF_BindingStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp; + +public class ZWS_ZMES_PRODORDCONF_BindingStub extends org.apache.axis.client.Stub implements com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF { + private java.util.Vector cachedSerClasses = new java.util.Vector(); + private java.util.Vector cachedSerQNames = new java.util.Vector(); + private java.util.Vector cachedSerFactories = new java.util.Vector(); + private java.util.Vector cachedDeserFactories = new java.util.Vector(); + + static org.apache.axis.description.OperationDesc [] _operations; + + static { + _operations = new org.apache.axis.description.OperationDesc[1]; + _initOperationDesc1(); + } + + private static void _initOperationDesc1(){ + org.apache.axis.description.OperationDesc oper; + org.apache.axis.description.ParameterDesc param; + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("ZmesProdordconf"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "InItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[].class, false, false); + param.setItemQName(new javax.xml.namespace.QName("", "item")); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "OutItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[].class, false, false); + param.setItemQName(new javax.xml.namespace.QName("", "item")); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1")); + oper.setReturnClass(String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "Ret")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[0] = oper; + + } + + public ZWS_ZMES_PRODORDCONF_BindingStub() throws org.apache.axis.AxisFault { + this(null); + } + + public ZWS_ZMES_PRODORDCONF_BindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { + this(service); + super.cachedEndpoint = endpointURL; + } + + public ZWS_ZMES_PRODORDCONF_BindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { + if (service == null) { + super.service = new org.apache.axis.client.Service(); + } else { + super.service = service; + } + ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.1"); + Class cls; + javax.xml.namespace.QName qName; + javax.xml.namespace.QName qName2; + Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; + Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; + Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; + Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; + Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; + Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; + Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; + Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; + Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; + Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1"); + cachedSerQNames.add(qName); + cls = String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char12"); + cachedSerQNames.add(qName); + cls = String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char4"); + cachedSerQNames.add(qName); + cls = String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char50"); + cachedSerQNames.add(qName); + cls = String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "quantum13.3"); + cachedSerQNames.add(qName); + cls = java.math.BigDecimal.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[].class; + cachedSerClasses.add(cls); + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); + qName2 = new javax.xml.namespace.QName("", "item"); + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[].class; + cachedSerClasses.add(cls); + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); + qName2 = new javax.xml.namespace.QName("", "item"); + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + } + + protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { + try { + org.apache.axis.client.Call _call = super._createCall(); + if (super.maintainSessionSet) { + _call.setMaintainSession(super.maintainSession); + } + if (super.cachedUsername != null) { + _call.setUsername(super.cachedUsername); + } + if (super.cachedPassword != null) { + _call.setPassword(super.cachedPassword); + } + if (super.cachedEndpoint != null) { + _call.setTargetEndpointAddress(super.cachedEndpoint); + } + if (super.cachedTimeout != null) { + _call.setTimeout(super.cachedTimeout); + } + if (super.cachedPortName != null) { + _call.setPortName(super.cachedPortName); + } + java.util.Enumeration keys = super.cachedProperties.keys(); + while (keys.hasMoreElements()) { + String key = (String) keys.nextElement(); + _call.setProperty(key, super.cachedProperties.get(key)); + } + // All the type mapping information is registered + // when the first call is made. + // The type mapping information is actually registered in + // the TypeMappingRegistry of the service, which + // is the reason why registration is only needed for the first call. + synchronized (this) { + if (firstCall()) { + // must set encoding style before registering serializers + _call.setEncodingStyle(null); + for (int i = 0; i < cachedSerFactories.size(); ++i) { + Class cls = (Class) cachedSerClasses.get(i); + javax.xml.namespace.QName qName = + (javax.xml.namespace.QName) cachedSerQNames.get(i); + Object x = cachedSerFactories.get(i); + if (x instanceof Class) { + Class sf = (Class) + cachedSerFactories.get(i); + Class df = (Class) + cachedDeserFactories.get(i); + _call.registerTypeMapping(cls, qName, sf, df, false); + } + else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { + org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) + cachedSerFactories.get(i); + org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) + cachedDeserFactories.get(i); + _call.registerTypeMapping(cls, qName, sf, df, false); + } + } + } + } + return _call; + } + catch (Throwable _t) { + throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); + } + } + + public String zmesProdordconf(com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException { + if (super.cachedEndpoint == null) { + throw new org.apache.axis.NoEndPointException(); + } + org.apache.axis.client.Call _call = createCall(); + _call.setOperation(_operations[0]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZmesProdordconf")); + + setRequestHeaders(_call); + setAttachments(_call); + try { Object _resp = _call.invoke(new Object[] {inItab.value, outItab.value}); + + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + } + else { + extractAttachments(_call); + java.util.Map _output; + _output = _call.getOutputParams(); + try { + inItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[]) _output.get(new javax.xml.namespace.QName("", "InItab")); + } catch (Exception _exception) { + inItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "InItab")), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[].class); + } + try { + outItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[]) _output.get(new javax.xml.namespace.QName("", "OutItab")); + } catch (Exception _exception) { + outItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "OutItab")), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[].class); + } + try { + return (String) _resp; + } catch (Exception _exception) { + return (String) org.apache.axis.utils.JavaUtils.convert(_resp, String.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; +} + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java new file mode 100644 index 00000000..dc04c861 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java @@ -0,0 +1,16 @@ +/** + * ZWS_ZMES_PRODORDCONF_Service.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp; + +public interface ZWS_ZMES_PRODORDCONF_Service extends javax.xml.rpc.Service { + public String getZWS_ZMES_PRODORDCONFAddress(); + + public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException; + + public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java new file mode 100644 index 00000000..07b0e781 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java @@ -0,0 +1,142 @@ +/** + * ZWS_ZMES_PRODORDCONF_ServiceLocator.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp; + +public class ZWS_ZMES_PRODORDCONF_ServiceLocator extends org.apache.axis.client.Service implements com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_Service { + + public ZWS_ZMES_PRODORDCONF_ServiceLocator() { + } + + + public ZWS_ZMES_PRODORDCONF_ServiceLocator(org.apache.axis.EngineConfiguration config) { + super(config); + } + + public ZWS_ZMES_PRODORDCONF_ServiceLocator(String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { + super(wsdlLoc, sName); + } + + // Use to get a proxy class for ZWS_ZMES_PRODORDCONF + private String ZWS_ZMES_PRODORDCONF_address = "http://srm.mesnac.com:8000/sap/bc/srt/rfc/sap/zws_zmes_prodordconf/900/zws_zmes_prodordconf/zws_zmes_prodordconf"; + + public String getZWS_ZMES_PRODORDCONFAddress() { + return ZWS_ZMES_PRODORDCONF_address; + } + + // The WSDD service name defaults to the port name. + private String ZWS_ZMES_PRODORDCONFWSDDServiceName = "ZWS_ZMES_PRODORDCONF"; + + public String getZWS_ZMES_PRODORDCONFWSDDServiceName() { + return ZWS_ZMES_PRODORDCONFWSDDServiceName; + } + + public void setZWS_ZMES_PRODORDCONFWSDDServiceName(String name) { + ZWS_ZMES_PRODORDCONFWSDDServiceName = name; + } + + public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException { + java.net.URL endpoint; + try { + endpoint = new java.net.URL(ZWS_ZMES_PRODORDCONF_address); + } + catch (java.net.MalformedURLException e) { + throw new javax.xml.rpc.ServiceException(e); + } + return getZWS_ZMES_PRODORDCONF(endpoint); + } + + public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { + try { + com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub(portAddress, this); + _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); + return _stub; + } + catch (org.apache.axis.AxisFault e) { + return null; + } + } + + public void setZWS_ZMES_PRODORDCONFEndpointAddress(String address) { + ZWS_ZMES_PRODORDCONF_address = address; + } + + /** + * For the given interface, get the stub implementation. + * If this service has no port for the given interface, + * then ServiceException is thrown. + */ + public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { + try { + if (com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF.class.isAssignableFrom(serviceEndpointInterface)) { + com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub(new java.net.URL(ZWS_ZMES_PRODORDCONF_address), this); + _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); + return _stub; + } + } + catch (Throwable t) { + throw new javax.xml.rpc.ServiceException(t); + } + throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); + } + + /** + * For the given interface, get the stub implementation. + * If this service has no port for the given interface, + * then ServiceException is thrown. + */ + public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { + if (portName == null) { + return getPort(serviceEndpointInterface); + } + String inputPortName = portName.getLocalPart(); + if ("ZWS_ZMES_PRODORDCONF".equals(inputPortName)) { + return getZWS_ZMES_PRODORDCONF(); + } + else { + java.rmi.Remote _stub = getPort(serviceEndpointInterface); + ((org.apache.axis.client.Stub) _stub).setPortName(portName); + return _stub; + } + } + + public javax.xml.namespace.QName getServiceName() { + return new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF"); + } + + private java.util.HashSet ports = null; + + public java.util.Iterator getPorts() { + if (ports == null) { + ports = new java.util.HashSet(); + ports.add(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF")); + } + return ports.iterator(); + } + + /** + * Set the endpoint address for the specified port name. + */ + public void setEndpointAddress(String portName, String address) throws javax.xml.rpc.ServiceException { + +if ("ZWS_ZMES_PRODORDCONF".equals(portName)) { + setZWS_ZMES_PRODORDCONFEndpointAddress(address); + } + else +{ // Unknown Port Name + throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); + } + } + + /** + * Set the endpoint address for the specified port name. + */ + public void setEndpointAddress(javax.xml.namespace.QName portName, String address) throws javax.xml.rpc.ServiceException { + setEndpointAddress(portName.getLocalPart(), address); + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java new file mode 100644 index 00000000..48bc3077 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java @@ -0,0 +1,479 @@ +/** + * ZprodordconfStruIn.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp; + +public class ZprodordconfStruIn implements java.io.Serializable { + private String aufnr; + + private String vornr; + + private String aueru; + + private java.math.BigDecimal lmnga; + + private java.math.BigDecimal xmnga; + + private java.math.BigDecimal ism01; + + private java.math.BigDecimal ism02; + + private java.math.BigDecimal ism03; + + private java.math.BigDecimal ism04; + + private java.math.BigDecimal ism05; + + private java.math.BigDecimal ism06; + + public ZprodordconfStruIn() { + } + + public ZprodordconfStruIn( + String aufnr, + String vornr, + String aueru, + java.math.BigDecimal lmnga, + java.math.BigDecimal xmnga, + java.math.BigDecimal ism01, + java.math.BigDecimal ism02, + java.math.BigDecimal ism03, + java.math.BigDecimal ism04, + java.math.BigDecimal ism05, + java.math.BigDecimal ism06) { + this.aufnr = aufnr; + this.vornr = vornr; + this.aueru = aueru; + this.lmnga = lmnga; + this.xmnga = xmnga; + this.ism01 = ism01; + this.ism02 = ism02; + this.ism03 = ism03; + this.ism04 = ism04; + this.ism05 = ism05; + this.ism06 = ism06; + } + + + /** + * Gets the aufnr value for this ZprodordconfStruIn. + * + * @return aufnr + */ + public String getAufnr() { + return aufnr; + } + + + /** + * Sets the aufnr value for this ZprodordconfStruIn. + * + * @param aufnr + */ + public void setAufnr(String aufnr) { + this.aufnr = aufnr; + } + + + /** + * Gets the vornr value for this ZprodordconfStruIn. + * + * @return vornr + */ + public String getVornr() { + return vornr; + } + + + /** + * Sets the vornr value for this ZprodordconfStruIn. + * + * @param vornr + */ + public void setVornr(String vornr) { + this.vornr = vornr; + } + + + /** + * Gets the aueru value for this ZprodordconfStruIn. + * + * @return aueru + */ + public String getAueru() { + return aueru; + } + + + /** + * Sets the aueru value for this ZprodordconfStruIn. + * + * @param aueru + */ + public void setAueru(String aueru) { + this.aueru = aueru; + } + + + /** + * Gets the lmnga value for this ZprodordconfStruIn. + * + * @return lmnga + */ + public java.math.BigDecimal getLmnga() { + return lmnga; + } + + + /** + * Sets the lmnga value for this ZprodordconfStruIn. + * + * @param lmnga + */ + public void setLmnga(java.math.BigDecimal lmnga) { + this.lmnga = lmnga; + } + + + /** + * Gets the xmnga value for this ZprodordconfStruIn. + * + * @return xmnga + */ + public java.math.BigDecimal getXmnga() { + return xmnga; + } + + + /** + * Sets the xmnga value for this ZprodordconfStruIn. + * + * @param xmnga + */ + public void setXmnga(java.math.BigDecimal xmnga) { + this.xmnga = xmnga; + } + + + /** + * Gets the ism01 value for this ZprodordconfStruIn. + * + * @return ism01 + */ + public java.math.BigDecimal getIsm01() { + return ism01; + } + + + /** + * Sets the ism01 value for this ZprodordconfStruIn. + * + * @param ism01 + */ + public void setIsm01(java.math.BigDecimal ism01) { + this.ism01 = ism01; + } + + + /** + * Gets the ism02 value for this ZprodordconfStruIn. + * + * @return ism02 + */ + public java.math.BigDecimal getIsm02() { + return ism02; + } + + + /** + * Sets the ism02 value for this ZprodordconfStruIn. + * + * @param ism02 + */ + public void setIsm02(java.math.BigDecimal ism02) { + this.ism02 = ism02; + } + + + /** + * Gets the ism03 value for this ZprodordconfStruIn. + * + * @return ism03 + */ + public java.math.BigDecimal getIsm03() { + return ism03; + } + + + /** + * Sets the ism03 value for this ZprodordconfStruIn. + * + * @param ism03 + */ + public void setIsm03(java.math.BigDecimal ism03) { + this.ism03 = ism03; + } + + + /** + * Gets the ism04 value for this ZprodordconfStruIn. + * + * @return ism04 + */ + public java.math.BigDecimal getIsm04() { + return ism04; + } + + + /** + * Sets the ism04 value for this ZprodordconfStruIn. + * + * @param ism04 + */ + public void setIsm04(java.math.BigDecimal ism04) { + this.ism04 = ism04; + } + + + /** + * Gets the ism05 value for this ZprodordconfStruIn. + * + * @return ism05 + */ + public java.math.BigDecimal getIsm05() { + return ism05; + } + + + /** + * Sets the ism05 value for this ZprodordconfStruIn. + * + * @param ism05 + */ + public void setIsm05(java.math.BigDecimal ism05) { + this.ism05 = ism05; + } + + + /** + * Gets the ism06 value for this ZprodordconfStruIn. + * + * @return ism06 + */ + public java.math.BigDecimal getIsm06() { + return ism06; + } + + + /** + * Sets the ism06 value for this ZprodordconfStruIn. + * + * @param ism06 + */ + public void setIsm06(java.math.BigDecimal ism06) { + this.ism06 = ism06; + } + + private Object __equalsCalc = null; + public synchronized boolean equals(Object obj) { + if (!(obj instanceof ZprodordconfStruIn)) return false; + ZprodordconfStruIn other = (ZprodordconfStruIn) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.aufnr==null && other.getAufnr()==null) || + (this.aufnr!=null && + this.aufnr.equals(other.getAufnr()))) && + ((this.vornr==null && other.getVornr()==null) || + (this.vornr!=null && + this.vornr.equals(other.getVornr()))) && + ((this.aueru==null && other.getAueru()==null) || + (this.aueru!=null && + this.aueru.equals(other.getAueru()))) && + ((this.lmnga==null && other.getLmnga()==null) || + (this.lmnga!=null && + this.lmnga.equals(other.getLmnga()))) && + ((this.xmnga==null && other.getXmnga()==null) || + (this.xmnga!=null && + this.xmnga.equals(other.getXmnga()))) && + ((this.ism01==null && other.getIsm01()==null) || + (this.ism01!=null && + this.ism01.equals(other.getIsm01()))) && + ((this.ism02==null && other.getIsm02()==null) || + (this.ism02!=null && + this.ism02.equals(other.getIsm02()))) && + ((this.ism03==null && other.getIsm03()==null) || + (this.ism03!=null && + this.ism03.equals(other.getIsm03()))) && + ((this.ism04==null && other.getIsm04()==null) || + (this.ism04!=null && + this.ism04.equals(other.getIsm04()))) && + ((this.ism05==null && other.getIsm05()==null) || + (this.ism05!=null && + this.ism05.equals(other.getIsm05()))) && + ((this.ism06==null && other.getIsm06()==null) || + (this.ism06!=null && + this.ism06.equals(other.getIsm06()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getAufnr() != null) { + _hashCode += getAufnr().hashCode(); + } + if (getVornr() != null) { + _hashCode += getVornr().hashCode(); + } + if (getAueru() != null) { + _hashCode += getAueru().hashCode(); + } + if (getLmnga() != null) { + _hashCode += getLmnga().hashCode(); + } + if (getXmnga() != null) { + _hashCode += getXmnga().hashCode(); + } + if (getIsm01() != null) { + _hashCode += getIsm01().hashCode(); + } + if (getIsm02() != null) { + _hashCode += getIsm02().hashCode(); + } + if (getIsm03() != null) { + _hashCode += getIsm03().hashCode(); + } + if (getIsm04() != null) { + _hashCode += getIsm04().hashCode(); + } + if (getIsm05() != null) { + _hashCode += getIsm05().hashCode(); + } + if (getIsm06() != null) { + _hashCode += getIsm06().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ZprodordconfStruIn.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aufnr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("vornr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aueru"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lmnga"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("xmnga"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Xmnga")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism01"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism02"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism03"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism04"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism05"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism06"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + String mechType, + Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + String mechType, + Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java new file mode 100644 index 00000000..fdf147ad --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java @@ -0,0 +1,515 @@ +/** + * ZprodordconfStruOut.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp; + +public class ZprodordconfStruOut implements java.io.Serializable { + private String aufnr; + + private String vornr; + + private String aueru; + + private java.math.BigDecimal lmnga; + + private java.math.BigDecimal ism01; + + private java.math.BigDecimal ism02; + + private java.math.BigDecimal ism03; + + private java.math.BigDecimal ism04; + + private java.math.BigDecimal ism05; + + private java.math.BigDecimal ism06; + + private String ret; + + private String msg; + + public ZprodordconfStruOut() { + } + + public ZprodordconfStruOut( + String aufnr, + String vornr, + String aueru, + java.math.BigDecimal lmnga, + java.math.BigDecimal ism01, + java.math.BigDecimal ism02, + java.math.BigDecimal ism03, + java.math.BigDecimal ism04, + java.math.BigDecimal ism05, + java.math.BigDecimal ism06, + String ret, + String msg) { + this.aufnr = aufnr; + this.vornr = vornr; + this.aueru = aueru; + this.lmnga = lmnga; + this.ism01 = ism01; + this.ism02 = ism02; + this.ism03 = ism03; + this.ism04 = ism04; + this.ism05 = ism05; + this.ism06 = ism06; + this.ret = ret; + this.msg = msg; + } + + + /** + * Gets the aufnr value for this ZprodordconfStruOut. + * + * @return aufnr + */ + public String getAufnr() { + return aufnr; + } + + + /** + * Sets the aufnr value for this ZprodordconfStruOut. + * + * @param aufnr + */ + public void setAufnr(String aufnr) { + this.aufnr = aufnr; + } + + + /** + * Gets the vornr value for this ZprodordconfStruOut. + * + * @return vornr + */ + public String getVornr() { + return vornr; + } + + + /** + * Sets the vornr value for this ZprodordconfStruOut. + * + * @param vornr + */ + public void setVornr(String vornr) { + this.vornr = vornr; + } + + + /** + * Gets the aueru value for this ZprodordconfStruOut. + * + * @return aueru + */ + public String getAueru() { + return aueru; + } + + + /** + * Sets the aueru value for this ZprodordconfStruOut. + * + * @param aueru + */ + public void setAueru(String aueru) { + this.aueru = aueru; + } + + + /** + * Gets the lmnga value for this ZprodordconfStruOut. + * + * @return lmnga + */ + public java.math.BigDecimal getLmnga() { + return lmnga; + } + + + /** + * Sets the lmnga value for this ZprodordconfStruOut. + * + * @param lmnga + */ + public void setLmnga(java.math.BigDecimal lmnga) { + this.lmnga = lmnga; + } + + + /** + * Gets the ism01 value for this ZprodordconfStruOut. + * + * @return ism01 + */ + public java.math.BigDecimal getIsm01() { + return ism01; + } + + + /** + * Sets the ism01 value for this ZprodordconfStruOut. + * + * @param ism01 + */ + public void setIsm01(java.math.BigDecimal ism01) { + this.ism01 = ism01; + } + + + /** + * Gets the ism02 value for this ZprodordconfStruOut. + * + * @return ism02 + */ + public java.math.BigDecimal getIsm02() { + return ism02; + } + + + /** + * Sets the ism02 value for this ZprodordconfStruOut. + * + * @param ism02 + */ + public void setIsm02(java.math.BigDecimal ism02) { + this.ism02 = ism02; + } + + + /** + * Gets the ism03 value for this ZprodordconfStruOut. + * + * @return ism03 + */ + public java.math.BigDecimal getIsm03() { + return ism03; + } + + + /** + * Sets the ism03 value for this ZprodordconfStruOut. + * + * @param ism03 + */ + public void setIsm03(java.math.BigDecimal ism03) { + this.ism03 = ism03; + } + + + /** + * Gets the ism04 value for this ZprodordconfStruOut. + * + * @return ism04 + */ + public java.math.BigDecimal getIsm04() { + return ism04; + } + + + /** + * Sets the ism04 value for this ZprodordconfStruOut. + * + * @param ism04 + */ + public void setIsm04(java.math.BigDecimal ism04) { + this.ism04 = ism04; + } + + + /** + * Gets the ism05 value for this ZprodordconfStruOut. + * + * @return ism05 + */ + public java.math.BigDecimal getIsm05() { + return ism05; + } + + + /** + * Sets the ism05 value for this ZprodordconfStruOut. + * + * @param ism05 + */ + public void setIsm05(java.math.BigDecimal ism05) { + this.ism05 = ism05; + } + + + /** + * Gets the ism06 value for this ZprodordconfStruOut. + * + * @return ism06 + */ + public java.math.BigDecimal getIsm06() { + return ism06; + } + + + /** + * Sets the ism06 value for this ZprodordconfStruOut. + * + * @param ism06 + */ + public void setIsm06(java.math.BigDecimal ism06) { + this.ism06 = ism06; + } + + + /** + * Gets the ret value for this ZprodordconfStruOut. + * + * @return ret + */ + public String getRet() { + return ret; + } + + + /** + * Sets the ret value for this ZprodordconfStruOut. + * + * @param ret + */ + public void setRet(String ret) { + this.ret = ret; + } + + + /** + * Gets the msg value for this ZprodordconfStruOut. + * + * @return msg + */ + public String getMsg() { + return msg; + } + + + /** + * Sets the msg value for this ZprodordconfStruOut. + * + * @param msg + */ + public void setMsg(String msg) { + this.msg = msg; + } + + private Object __equalsCalc = null; + public synchronized boolean equals(Object obj) { + if (!(obj instanceof ZprodordconfStruOut)) return false; + ZprodordconfStruOut other = (ZprodordconfStruOut) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.aufnr==null && other.getAufnr()==null) || + (this.aufnr!=null && + this.aufnr.equals(other.getAufnr()))) && + ((this.vornr==null && other.getVornr()==null) || + (this.vornr!=null && + this.vornr.equals(other.getVornr()))) && + ((this.aueru==null && other.getAueru()==null) || + (this.aueru!=null && + this.aueru.equals(other.getAueru()))) && + ((this.lmnga==null && other.getLmnga()==null) || + (this.lmnga!=null && + this.lmnga.equals(other.getLmnga()))) && + ((this.ism01==null && other.getIsm01()==null) || + (this.ism01!=null && + this.ism01.equals(other.getIsm01()))) && + ((this.ism02==null && other.getIsm02()==null) || + (this.ism02!=null && + this.ism02.equals(other.getIsm02()))) && + ((this.ism03==null && other.getIsm03()==null) || + (this.ism03!=null && + this.ism03.equals(other.getIsm03()))) && + ((this.ism04==null && other.getIsm04()==null) || + (this.ism04!=null && + this.ism04.equals(other.getIsm04()))) && + ((this.ism05==null && other.getIsm05()==null) || + (this.ism05!=null && + this.ism05.equals(other.getIsm05()))) && + ((this.ism06==null && other.getIsm06()==null) || + (this.ism06!=null && + this.ism06.equals(other.getIsm06()))) && + ((this.ret==null && other.getRet()==null) || + (this.ret!=null && + this.ret.equals(other.getRet()))) && + ((this.msg==null && other.getMsg()==null) || + (this.msg!=null && + this.msg.equals(other.getMsg()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getAufnr() != null) { + _hashCode += getAufnr().hashCode(); + } + if (getVornr() != null) { + _hashCode += getVornr().hashCode(); + } + if (getAueru() != null) { + _hashCode += getAueru().hashCode(); + } + if (getLmnga() != null) { + _hashCode += getLmnga().hashCode(); + } + if (getIsm01() != null) { + _hashCode += getIsm01().hashCode(); + } + if (getIsm02() != null) { + _hashCode += getIsm02().hashCode(); + } + if (getIsm03() != null) { + _hashCode += getIsm03().hashCode(); + } + if (getIsm04() != null) { + _hashCode += getIsm04().hashCode(); + } + if (getIsm05() != null) { + _hashCode += getIsm05().hashCode(); + } + if (getIsm06() != null) { + _hashCode += getIsm06().hashCode(); + } + if (getRet() != null) { + _hashCode += getRet().hashCode(); + } + if (getMsg() != null) { + _hashCode += getMsg().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ZprodordconfStruOut.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aufnr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("vornr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aueru"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lmnga"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism01"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism02"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism03"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism04"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism05"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism06"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ret"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ret")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("msg"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Msg")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + String mechType, + Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + String mechType, + Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java new file mode 100644 index 00000000..870c5039 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java @@ -0,0 +1,12 @@ +/** + * Zws_zmes_PRODORDCONF.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp; + +public interface Zws_zmes_PRODORDCONF extends java.rmi.Remote { + public String zmesProdordconf(com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException; +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl new file mode 100644 index 00000000..84931cac --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl @@ -0,0 +1 @@ +falsefalsefalsetruenofalse \ No newline at end of file diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java new file mode 100644 index 00000000..2d0c76c5 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java @@ -0,0 +1,20 @@ +/** + * TableOfZprodordconfStruInHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp.holders; + +public final class TableOfZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[] value; + + public TableOfZprodordconfStruInHolder() { + } + + public TableOfZprodordconfStruInHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[] value) { + this.value = value; + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java new file mode 100644 index 00000000..4c22eb7f --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java @@ -0,0 +1,20 @@ +/** + * TableOfZprodordconfStruOutHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp.holders; + +public final class TableOfZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[] value; + + public TableOfZprodordconfStruOutHolder() { + } + + public TableOfZprodordconfStruOutHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[] value) { + this.value = value; + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java new file mode 100644 index 00000000..18479164 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java @@ -0,0 +1,20 @@ +/** + * ZprodordconfStruInHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp.holders; + +public final class ZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn value; + + public ZprodordconfStruInHolder() { + } + + public ZprodordconfStruInHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn value) { + this.value = value; + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java new file mode 100644 index 00000000..08796bc3 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java @@ -0,0 +1,20 @@ +/** + * ZprodordconfStruOutHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.prodErp.holders; + +public final class ZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut value; + + public ZprodordconfStruOutHolder() { + } + + public ZprodordconfStruOutHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut value) { + this.value = value; + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java b/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java index c22a155c..960a06e8 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java +++ b/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java @@ -1,7 +1,7 @@ package com.foreverwin.mesnac.common.util; -import com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_ServiceLocator; -import com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF; +import com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_ServiceLocator; +import com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF; import com.foreverwin.mesnac.meapi.util.StringUtils; import org.apache.axis.client.Stub; diff --git a/console/src/main/resources/application-prd.yml b/console/src/main/resources/application-prd.yml index d2fb803a..67c4d5aa 100644 --- a/console/src/main/resources/application-prd.yml +++ b/console/src/main/resources/application-prd.yml @@ -43,7 +43,7 @@ ftp: #打印服务 print: - server: http://172.16.170.165:8022/print/mesnacprint + server: http://172.16.170.163:8022/print/mesnacprint #文件模板路径 exportDocument: From 66374d071ec10a57f877050270bd630239ab78cc Mon Sep 17 00:00:00 2001 From: Leon <3066758958@qq.com> Date: Mon, 30 Aug 2021 16:12:49 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83ERP?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/java/com/foreverwin/mesnac/console/TmdMc.java | 8 ++++---- .../mesnac/dispatch/controller/ItemBatchController.java | 8 ++++---- .../production/service/impl/PodTemplateServiceImpl.java | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java b/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java index c6053aed..72270098 100644 --- a/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java +++ b/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java @@ -1,9 +1,9 @@ package com.foreverwin.mesnac.console; -import com.foreverwin.mesnac.common.erp.ZprodordconfStruIn; -import com.foreverwin.mesnac.common.erp.ZprodordconfStruOut; -import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder; -import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder; +import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn; +import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut; +import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder; +import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder; import com.foreverwin.mesnac.common.util.ERPAPI; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java index 69b4277c..9a1cdd82 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java @@ -2,10 +2,10 @@ package com.foreverwin.mesnac.dispatch.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; -import com.foreverwin.mesnac.common.erp.ZprodordconfStruIn; -import com.foreverwin.mesnac.common.erp.ZprodordconfStruOut; -import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder; -import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder; +import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn; +import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut; +import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder; +import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder; import com.foreverwin.mesnac.common.util.ERPAPI; import com.foreverwin.mesnac.dispatch.model.ItemBatch; import com.foreverwin.mesnac.dispatch.service.ItemBatchService; diff --git a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java index 8f23e906..f957763f 100644 --- a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java +++ b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java @@ -7,10 +7,10 @@ import com.foreverwin.mesnac.common.constant.Constants; import com.foreverwin.mesnac.common.constant.IntegrationTypeConstant; import com.foreverwin.mesnac.common.enums.DispatchStatusEnum; import com.foreverwin.mesnac.common.enums.HandleEnum; -import com.foreverwin.mesnac.common.erp.ZprodordconfStruIn; -import com.foreverwin.mesnac.common.erp.ZprodordconfStruOut; -import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder; -import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder; +import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn; +import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut; +import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder; +import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder; import com.foreverwin.mesnac.common.model.InspectionItemDetail; import com.foreverwin.mesnac.common.model.InspectionTask; import com.foreverwin.mesnac.common.service.CommonService; From c87625d31329a0f7a85f0aa85df8eb067fc839c7 Mon Sep 17 00:00:00 2001 From: Limy <1353020654@qq.com> Date: Mon, 30 Aug 2021 18:35:29 +0800 Subject: [PATCH 10/11] =?UTF-8?q?ERP=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../erp/ZWS_ZMES_PRODORDCONF_BindingStub.java | 253 --------- .../erp/ZWS_ZMES_PRODORDCONF_Service.java | 16 - .../ZWS_ZMES_PRODORDCONF_ServiceLocator.java | 142 ----- .../mesnac/common/erp/ZprodordconfStruIn.java | 497 ---------------- .../common/erp/ZprodordconfStruOut.java | 534 ------------------ .../common/erp/Zws_zmes_PRODORDCONF.java | 12 - .../TableOfZprodordconfStruInHolder.java | 20 - .../TableOfZprodordconfStruOutHolder.java | 20 - .../erp/holders/ZprodordconfStruInHolder.java | 20 - .../holders/ZprodordconfStruOutHolder.java | 20 - .../foreverwin/mesnac/common/erp/saperp.wsdl | 182 ------ .../ZWS_ZMES_PRODORDCONF_BindingStub.java | 253 --------- .../prodErp/ZWS_ZMES_PRODORDCONF_Service.java | 16 - .../ZWS_ZMES_PRODORDCONF_ServiceLocator.java | 142 ----- .../common/prodErp/ZprodordconfStruIn.java | 479 ---------------- .../common/prodErp/ZprodordconfStruOut.java | 515 ----------------- .../common/prodErp/Zws_zmes_PRODORDCONF.java | 12 - .../mesnac/common/prodErp/document.wsdl | 1 - .../TableOfZprodordconfStruInHolder.java | 20 - .../TableOfZprodordconfStruOutHolder.java | 20 - .../holders/ZprodordconfStruInHolder.java | 20 - .../holders/ZprodordconfStruOutHolder.java | 20 - .../foreverwin/mesnac/common/util/ERPAPI.java | 4 +- .../src/main/resources/application-local.yml | 8 +- .../com/foreverwin/mesnac/console/TmdMc.java | 25 +- .../controller/ItemBatchController.java | 8 +- .../service/impl/PodTemplateServiceImpl.java | 8 +- 27 files changed, 28 insertions(+), 3239 deletions(-) delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java delete mode 100644 common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java deleted file mode 100644 index f47b2cf1..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java +++ /dev/null @@ -1,253 +0,0 @@ -/** - * ZWS_ZMES_PRODORDCONF_BindingStub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp; - -public class ZWS_ZMES_PRODORDCONF_BindingStub extends org.apache.axis.client.Stub implements com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[1]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("ZmesProdordconf"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "InItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"), com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[].class, false, false); - param.setItemQName(new javax.xml.namespace.QName("", "item")); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "OutItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"), com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[].class, false, false); - param.setItemQName(new javax.xml.namespace.QName("", "item")); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1")); - oper.setReturnClass(java.lang.String.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "Ret")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - } - - public ZWS_ZMES_PRODORDCONF_BindingStub() throws org.apache.axis.AxisFault { - this(null); - } - - public ZWS_ZMES_PRODORDCONF_BindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public ZWS_ZMES_PRODORDCONF_BindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.1"); - java.lang.Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1"); - cachedSerQNames.add(qName); - cls = java.lang.String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char12"); - cachedSerQNames.add(qName); - cls = java.lang.String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char4"); - cachedSerQNames.add(qName); - cls = java.lang.String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char50"); - cachedSerQNames.add(qName); - cls = java.lang.String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "quantum13.3"); - cachedSerQNames.add(qName); - cls = java.math.BigDecimal.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); - qName2 = new javax.xml.namespace.QName("", "item"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); - qName2 = new javax.xml.namespace.QName("", "item"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruIn.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruOut.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - java.lang.String key = (java.lang.String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - java.lang.Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - java.lang.Class sf = (java.lang.Class) - cachedSerFactories.get(i); - java.lang.Class df = (java.lang.Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (java.lang.Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public java.lang.String zmesProdordconf(com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZmesProdordconf")); - - setRequestHeaders(_call); - setAttachments(_call); - try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {inItab.value, outItab.value}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - java.util.Map _output; - _output = _call.getOutputParams(); - try { - inItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[]) _output.get(new javax.xml.namespace.QName("", "InItab")); - } catch (java.lang.Exception _exception) { - inItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "InItab")), com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[].class); - } - try { - outItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[]) _output.get(new javax.xml.namespace.QName("", "OutItab")); - } catch (java.lang.Exception _exception) { - outItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "OutItab")), com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[].class); - } - try { - return (java.lang.String) _resp; - } catch (java.lang.Exception _exception) { - return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java deleted file mode 100644 index ee18295c..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * ZWS_ZMES_PRODORDCONF_Service.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp; - -public interface ZWS_ZMES_PRODORDCONF_Service extends javax.xml.rpc.Service { - public java.lang.String getZWS_ZMES_PRODORDCONFAddress(); - - public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException; - - public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java deleted file mode 100644 index a4c1bc19..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * ZWS_ZMES_PRODORDCONF_ServiceLocator.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp; - -public class ZWS_ZMES_PRODORDCONF_ServiceLocator extends org.apache.axis.client.Service implements com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_Service { - - public ZWS_ZMES_PRODORDCONF_ServiceLocator() { - } - - - public ZWS_ZMES_PRODORDCONF_ServiceLocator(org.apache.axis.EngineConfiguration config) { - super(config); - } - - public ZWS_ZMES_PRODORDCONF_ServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { - super(wsdlLoc, sName); - } - - // Use to get a proxy class for ZWS_ZMES_PRODORDCONF - private java.lang.String ZWS_ZMES_PRODORDCONF_address = "http://srm.mesnac.com:8000/sap/bc/srt/rfc/sap/zws_zmes_prodordconf/900/zws_zmes_prodordconf/zws_zmes_prodordconf"; - - public java.lang.String getZWS_ZMES_PRODORDCONFAddress() { - return ZWS_ZMES_PRODORDCONF_address; - } - - // The WSDD service name defaults to the port name. - private java.lang.String ZWS_ZMES_PRODORDCONFWSDDServiceName = "ZWS_ZMES_PRODORDCONF"; - - public java.lang.String getZWS_ZMES_PRODORDCONFWSDDServiceName() { - return ZWS_ZMES_PRODORDCONFWSDDServiceName; - } - - public void setZWS_ZMES_PRODORDCONFWSDDServiceName(java.lang.String name) { - ZWS_ZMES_PRODORDCONFWSDDServiceName = name; - } - - public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(ZWS_ZMES_PRODORDCONF_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getZWS_ZMES_PRODORDCONF(endpoint); - } - - public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub(portAddress, this); - _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setZWS_ZMES_PRODORDCONFEndpointAddress(java.lang.String address) { - ZWS_ZMES_PRODORDCONF_address = address; - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - try { - if (com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF.class.isAssignableFrom(serviceEndpointInterface)) { - com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub(new java.net.URL(ZWS_ZMES_PRODORDCONF_address), this); - _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); - return _stub; - } - } - catch (java.lang.Throwable t) { - throw new javax.xml.rpc.ServiceException(t); - } - throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - if (portName == null) { - return getPort(serviceEndpointInterface); - } - java.lang.String inputPortName = portName.getLocalPart(); - if ("ZWS_ZMES_PRODORDCONF".equals(inputPortName)) { - return getZWS_ZMES_PRODORDCONF(); - } - else { - java.rmi.Remote _stub = getPort(serviceEndpointInterface); - ((org.apache.axis.client.Stub) _stub).setPortName(portName); - return _stub; - } - } - - public javax.xml.namespace.QName getServiceName() { - return new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF"); - } - - private java.util.HashSet ports = null; - - public java.util.Iterator getPorts() { - if (ports == null) { - ports = new java.util.HashSet(); - ports.add(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF")); - } - return ports.iterator(); - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - -if ("ZWS_ZMES_PRODORDCONF".equals(portName)) { - setZWS_ZMES_PRODORDCONFEndpointAddress(address); - } - else -{ // Unknown Port Name - throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); - } - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { - setEndpointAddress(portName.getLocalPart(), address); - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java deleted file mode 100644 index 970756d6..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java +++ /dev/null @@ -1,497 +0,0 @@ -/** - * ZprodordconfStruIn.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp; - -public class ZprodordconfStruIn implements java.io.Serializable { - private java.lang.String aufnr; - - private java.lang.String vornr; - - private java.lang.String aueru; - - private java.math.BigDecimal lmnga; - - private java.math.BigDecimal xmnga; - - private java.math.BigDecimal ism01; - - private java.math.BigDecimal ism02; - - private java.math.BigDecimal ism03; - - private java.math.BigDecimal ism04; - - private java.math.BigDecimal ism05; - - private java.math.BigDecimal ism06; - - public ZprodordconfStruIn() { - } - - public ZprodordconfStruIn( - java.lang.String aufnr, - java.lang.String vornr, - java.lang.String aueru, - java.math.BigDecimal lmnga, - java.math.BigDecimal xmnga, - java.math.BigDecimal ism01, - java.math.BigDecimal ism02, - java.math.BigDecimal ism03, - java.math.BigDecimal ism04, - java.math.BigDecimal ism05, - java.math.BigDecimal ism06) { - this.aufnr = aufnr; - this.vornr = vornr; - this.aueru = aueru; - this.lmnga = lmnga; - this.xmnga = xmnga; - this.ism01 = ism01; - this.ism02 = ism02; - this.ism03 = ism03; - this.ism04 = ism04; - this.ism05 = ism05; - this.ism06 = ism06; - } - - - /** - * Gets the aufnr value for this ZprodordconfStruIn. - * - * @return aufnr - */ - public java.lang.String getAufnr() { - return aufnr; - } - - - /** - * Sets the aufnr value for this ZprodordconfStruIn. - * - * @param aufnr - */ - public void setAufnr(java.lang.String aufnr) { - this.aufnr = aufnr; - } - - - /** - * Gets the vornr value for this ZprodordconfStruIn. - * - * @return vornr - */ - public java.lang.String getVornr() { - return vornr; - } - - - /** - * Sets the vornr value for this ZprodordconfStruIn. - * - * @param vornr - */ - public void setVornr(java.lang.String vornr) { - this.vornr = vornr; - } - - - /** - * Gets the aueru value for this ZprodordconfStruIn. - * - * @return aueru - */ - public java.lang.String getAueru() { - return aueru; - } - - - /** - * Sets the aueru value for this ZprodordconfStruIn. - * - * @param aueru - */ - public void setAueru(java.lang.String aueru) { - this.aueru = aueru; - } - - - /** - * Gets the lmnga value for this ZprodordconfStruIn. - * - * @return lmnga - */ - public java.math.BigDecimal getLmnga() { - return lmnga; - } - - - /** - * Sets the lmnga value for this ZprodordconfStruIn. - * - * @param lmnga - */ - public void setLmnga(java.math.BigDecimal lmnga) { - this.lmnga = lmnga; - } - - - /** - * Gets the xmnga value for this ZprodordconfStruIn. - * - * @return xmnga - */ - public java.math.BigDecimal getXmnga() { - return xmnga; - } - - - /** - * Sets the xmnga value for this ZprodordconfStruIn. - * - * @param xmnga - */ - public void setXmnga(java.math.BigDecimal xmnga) { - this.xmnga = xmnga; - } - - - /** - * Gets the ism01 value for this ZprodordconfStruIn. - * - * @return ism01 - */ - public java.math.BigDecimal getIsm01() { - return ism01; - } - - - /** - * Sets the ism01 value for this ZprodordconfStruIn. - * - * @param ism01 - */ - public void setIsm01(java.math.BigDecimal ism01) { - this.ism01 = ism01; - } - - - /** - * Gets the ism02 value for this ZprodordconfStruIn. - * - * @return ism02 - */ - public java.math.BigDecimal getIsm02() { - return ism02; - } - - - /** - * Sets the ism02 value for this ZprodordconfStruIn. - * - * @param ism02 - */ - public void setIsm02(java.math.BigDecimal ism02) { - this.ism02 = ism02; - } - - - /** - * Gets the ism03 value for this ZprodordconfStruIn. - * - * @return ism03 - */ - public java.math.BigDecimal getIsm03() { - return ism03; - } - - - /** - * Sets the ism03 value for this ZprodordconfStruIn. - * - * @param ism03 - */ - public void setIsm03(java.math.BigDecimal ism03) { - this.ism03 = ism03; - } - - - /** - * Gets the ism04 value for this ZprodordconfStruIn. - * - * @return ism04 - */ - public java.math.BigDecimal getIsm04() { - return ism04; - } - - - /** - * Sets the ism04 value for this ZprodordconfStruIn. - * - * @param ism04 - */ - public void setIsm04(java.math.BigDecimal ism04) { - this.ism04 = ism04; - } - - - /** - * Gets the ism05 value for this ZprodordconfStruIn. - * - * @return ism05 - */ - public java.math.BigDecimal getIsm05() { - return ism05; - } - - - /** - * Sets the ism05 value for this ZprodordconfStruIn. - * - * @param ism05 - */ - public void setIsm05(java.math.BigDecimal ism05) { - this.ism05 = ism05; - } - - - /** - * Gets the ism06 value for this ZprodordconfStruIn. - * - * @return ism06 - */ - public java.math.BigDecimal getIsm06() { - return ism06; - } - - - /** - * Sets the ism06 value for this ZprodordconfStruIn. - * - * @param ism06 - */ - public void setIsm06(java.math.BigDecimal ism06) { - this.ism06 = ism06; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ZprodordconfStruIn)) return false; - ZprodordconfStruIn other = (ZprodordconfStruIn) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.aufnr==null && other.getAufnr()==null) || - (this.aufnr!=null && - this.aufnr.equals(other.getAufnr()))) && - ((this.vornr==null && other.getVornr()==null) || - (this.vornr!=null && - this.vornr.equals(other.getVornr()))) && - ((this.aueru==null && other.getAueru()==null) || - (this.aueru!=null && - this.aueru.equals(other.getAueru()))) && - ((this.lmnga==null && other.getLmnga()==null) || - (this.lmnga!=null && - this.lmnga.equals(other.getLmnga()))) && - ((this.xmnga==null && other.getXmnga()==null) || - (this.xmnga!=null && - this.xmnga.equals(other.getXmnga()))) && - ((this.ism01==null && other.getIsm01()==null) || - (this.ism01!=null && - this.ism01.equals(other.getIsm01()))) && - ((this.ism02==null && other.getIsm02()==null) || - (this.ism02!=null && - this.ism02.equals(other.getIsm02()))) && - ((this.ism03==null && other.getIsm03()==null) || - (this.ism03!=null && - this.ism03.equals(other.getIsm03()))) && - ((this.ism04==null && other.getIsm04()==null) || - (this.ism04!=null && - this.ism04.equals(other.getIsm04()))) && - ((this.ism05==null && other.getIsm05()==null) || - (this.ism05!=null && - this.ism05.equals(other.getIsm05()))) && - ((this.ism06==null && other.getIsm06()==null) || - (this.ism06!=null && - this.ism06.equals(other.getIsm06()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAufnr() != null) { - _hashCode += getAufnr().hashCode(); - } - if (getVornr() != null) { - _hashCode += getVornr().hashCode(); - } - if (getAueru() != null) { - _hashCode += getAueru().hashCode(); - } - if (getLmnga() != null) { - _hashCode += getLmnga().hashCode(); - } - if (getXmnga() != null) { - _hashCode += getXmnga().hashCode(); - } - if (getIsm01() != null) { - _hashCode += getIsm01().hashCode(); - } - if (getIsm02() != null) { - _hashCode += getIsm02().hashCode(); - } - if (getIsm03() != null) { - _hashCode += getIsm03().hashCode(); - } - if (getIsm04() != null) { - _hashCode += getIsm04().hashCode(); - } - if (getIsm05() != null) { - _hashCode += getIsm05().hashCode(); - } - if (getIsm06() != null) { - _hashCode += getIsm06().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ZprodordconfStruIn.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aufnr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("vornr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aueru"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("lmnga"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("xmnga"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Xmnga")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism01"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism02"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism03"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism04"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism05"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism06"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - @Override - public String toString() { - return "ZprodordconfStruIn{" + - "aufnr='" + aufnr + '\'' + - ", vornr='" + vornr + '\'' + - ", aueru='" + aueru + '\'' + - ", lmnga=" + lmnga + - ", xmnga=" + xmnga + - ", ism01=" + ism01 + - ", ism02=" + ism02 + - ", ism03=" + ism03 + - ", ism04=" + ism04 + - ", ism05=" + ism05 + - ", ism06=" + ism06 + - ", __equalsCalc=" + __equalsCalc + - ", __hashCodeCalc=" + __hashCodeCalc + - '}'; - } -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java deleted file mode 100644 index 18eb1910..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java +++ /dev/null @@ -1,534 +0,0 @@ -/** - * ZprodordconfStruOut.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp; - -public class ZprodordconfStruOut implements java.io.Serializable { - private java.lang.String aufnr; - - private java.lang.String vornr; - - private java.lang.String aueru; - - private java.math.BigDecimal lmnga; - - private java.math.BigDecimal ism01; - - private java.math.BigDecimal ism02; - - private java.math.BigDecimal ism03; - - private java.math.BigDecimal ism04; - - private java.math.BigDecimal ism05; - - private java.math.BigDecimal ism06; - - private java.lang.String ret; - - private java.lang.String msg; - - public ZprodordconfStruOut() { - } - - public ZprodordconfStruOut( - java.lang.String aufnr, - java.lang.String vornr, - java.lang.String aueru, - java.math.BigDecimal lmnga, - java.math.BigDecimal ism01, - java.math.BigDecimal ism02, - java.math.BigDecimal ism03, - java.math.BigDecimal ism04, - java.math.BigDecimal ism05, - java.math.BigDecimal ism06, - java.lang.String ret, - java.lang.String msg) { - this.aufnr = aufnr; - this.vornr = vornr; - this.aueru = aueru; - this.lmnga = lmnga; - this.ism01 = ism01; - this.ism02 = ism02; - this.ism03 = ism03; - this.ism04 = ism04; - this.ism05 = ism05; - this.ism06 = ism06; - this.ret = ret; - this.msg = msg; - } - - - /** - * Gets the aufnr value for this ZprodordconfStruOut. - * - * @return aufnr - */ - public java.lang.String getAufnr() { - return aufnr; - } - - - /** - * Sets the aufnr value for this ZprodordconfStruOut. - * - * @param aufnr - */ - public void setAufnr(java.lang.String aufnr) { - this.aufnr = aufnr; - } - - - /** - * Gets the vornr value for this ZprodordconfStruOut. - * - * @return vornr - */ - public java.lang.String getVornr() { - return vornr; - } - - - /** - * Sets the vornr value for this ZprodordconfStruOut. - * - * @param vornr - */ - public void setVornr(java.lang.String vornr) { - this.vornr = vornr; - } - - - /** - * Gets the aueru value for this ZprodordconfStruOut. - * - * @return aueru - */ - public java.lang.String getAueru() { - return aueru; - } - - - /** - * Sets the aueru value for this ZprodordconfStruOut. - * - * @param aueru - */ - public void setAueru(java.lang.String aueru) { - this.aueru = aueru; - } - - - /** - * Gets the lmnga value for this ZprodordconfStruOut. - * - * @return lmnga - */ - public java.math.BigDecimal getLmnga() { - return lmnga; - } - - - /** - * Sets the lmnga value for this ZprodordconfStruOut. - * - * @param lmnga - */ - public void setLmnga(java.math.BigDecimal lmnga) { - this.lmnga = lmnga; - } - - - /** - * Gets the ism01 value for this ZprodordconfStruOut. - * - * @return ism01 - */ - public java.math.BigDecimal getIsm01() { - return ism01; - } - - - /** - * Sets the ism01 value for this ZprodordconfStruOut. - * - * @param ism01 - */ - public void setIsm01(java.math.BigDecimal ism01) { - this.ism01 = ism01; - } - - - /** - * Gets the ism02 value for this ZprodordconfStruOut. - * - * @return ism02 - */ - public java.math.BigDecimal getIsm02() { - return ism02; - } - - - /** - * Sets the ism02 value for this ZprodordconfStruOut. - * - * @param ism02 - */ - public void setIsm02(java.math.BigDecimal ism02) { - this.ism02 = ism02; - } - - - /** - * Gets the ism03 value for this ZprodordconfStruOut. - * - * @return ism03 - */ - public java.math.BigDecimal getIsm03() { - return ism03; - } - - - /** - * Sets the ism03 value for this ZprodordconfStruOut. - * - * @param ism03 - */ - public void setIsm03(java.math.BigDecimal ism03) { - this.ism03 = ism03; - } - - - /** - * Gets the ism04 value for this ZprodordconfStruOut. - * - * @return ism04 - */ - public java.math.BigDecimal getIsm04() { - return ism04; - } - - - /** - * Sets the ism04 value for this ZprodordconfStruOut. - * - * @param ism04 - */ - public void setIsm04(java.math.BigDecimal ism04) { - this.ism04 = ism04; - } - - - /** - * Gets the ism05 value for this ZprodordconfStruOut. - * - * @return ism05 - */ - public java.math.BigDecimal getIsm05() { - return ism05; - } - - - /** - * Sets the ism05 value for this ZprodordconfStruOut. - * - * @param ism05 - */ - public void setIsm05(java.math.BigDecimal ism05) { - this.ism05 = ism05; - } - - - /** - * Gets the ism06 value for this ZprodordconfStruOut. - * - * @return ism06 - */ - public java.math.BigDecimal getIsm06() { - return ism06; - } - - - /** - * Sets the ism06 value for this ZprodordconfStruOut. - * - * @param ism06 - */ - public void setIsm06(java.math.BigDecimal ism06) { - this.ism06 = ism06; - } - - - /** - * Gets the ret value for this ZprodordconfStruOut. - * - * @return ret - */ - public java.lang.String getRet() { - return ret; - } - - - /** - * Sets the ret value for this ZprodordconfStruOut. - * - * @param ret - */ - public void setRet(java.lang.String ret) { - this.ret = ret; - } - - - /** - * Gets the msg value for this ZprodordconfStruOut. - * - * @return msg - */ - public java.lang.String getMsg() { - return msg; - } - - - /** - * Sets the msg value for this ZprodordconfStruOut. - * - * @param msg - */ - public void setMsg(java.lang.String msg) { - this.msg = msg; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ZprodordconfStruOut)) return false; - ZprodordconfStruOut other = (ZprodordconfStruOut) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.aufnr==null && other.getAufnr()==null) || - (this.aufnr!=null && - this.aufnr.equals(other.getAufnr()))) && - ((this.vornr==null && other.getVornr()==null) || - (this.vornr!=null && - this.vornr.equals(other.getVornr()))) && - ((this.aueru==null && other.getAueru()==null) || - (this.aueru!=null && - this.aueru.equals(other.getAueru()))) && - ((this.lmnga==null && other.getLmnga()==null) || - (this.lmnga!=null && - this.lmnga.equals(other.getLmnga()))) && - ((this.ism01==null && other.getIsm01()==null) || - (this.ism01!=null && - this.ism01.equals(other.getIsm01()))) && - ((this.ism02==null && other.getIsm02()==null) || - (this.ism02!=null && - this.ism02.equals(other.getIsm02()))) && - ((this.ism03==null && other.getIsm03()==null) || - (this.ism03!=null && - this.ism03.equals(other.getIsm03()))) && - ((this.ism04==null && other.getIsm04()==null) || - (this.ism04!=null && - this.ism04.equals(other.getIsm04()))) && - ((this.ism05==null && other.getIsm05()==null) || - (this.ism05!=null && - this.ism05.equals(other.getIsm05()))) && - ((this.ism06==null && other.getIsm06()==null) || - (this.ism06!=null && - this.ism06.equals(other.getIsm06()))) && - ((this.ret==null && other.getRet()==null) || - (this.ret!=null && - this.ret.equals(other.getRet()))) && - ((this.msg==null && other.getMsg()==null) || - (this.msg!=null && - this.msg.equals(other.getMsg()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAufnr() != null) { - _hashCode += getAufnr().hashCode(); - } - if (getVornr() != null) { - _hashCode += getVornr().hashCode(); - } - if (getAueru() != null) { - _hashCode += getAueru().hashCode(); - } - if (getLmnga() != null) { - _hashCode += getLmnga().hashCode(); - } - if (getIsm01() != null) { - _hashCode += getIsm01().hashCode(); - } - if (getIsm02() != null) { - _hashCode += getIsm02().hashCode(); - } - if (getIsm03() != null) { - _hashCode += getIsm03().hashCode(); - } - if (getIsm04() != null) { - _hashCode += getIsm04().hashCode(); - } - if (getIsm05() != null) { - _hashCode += getIsm05().hashCode(); - } - if (getIsm06() != null) { - _hashCode += getIsm06().hashCode(); - } - if (getRet() != null) { - _hashCode += getRet().hashCode(); - } - if (getMsg() != null) { - _hashCode += getMsg().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ZprodordconfStruOut.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aufnr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("vornr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aueru"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("lmnga"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism01"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism02"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism03"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism04"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism05"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism06"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ret"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ret")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("msg"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Msg")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - @Override - public String toString() { - return "ZprodordconfStruOut{" + - "aufnr='" + aufnr + '\'' + - ", vornr='" + vornr + '\'' + - ", aueru='" + aueru + '\'' + - ", lmnga=" + lmnga + - ", ism01=" + ism01 + - ", ism02=" + ism02 + - ", ism03=" + ism03 + - ", ism04=" + ism04 + - ", ism05=" + ism05 + - ", ism06=" + ism06 + - ", ret='" + ret + '\'' + - ", msg='" + msg + '\'' + - ", __equalsCalc=" + __equalsCalc + - ", __hashCodeCalc=" + __hashCodeCalc + - '}'; - } -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java deleted file mode 100644 index 7510a6a6..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Zws_zmes_PRODORDCONF.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp; - -public interface Zws_zmes_PRODORDCONF extends java.rmi.Remote { - public java.lang.String zmesProdordconf(com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException; -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java deleted file mode 100644 index bc8da227..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * TableOfZprodordconfStruInHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp.holders; - -public final class TableOfZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[] value; - - public TableOfZprodordconfStruInHolder() { - } - - public TableOfZprodordconfStruInHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[] value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java deleted file mode 100644 index bef4251b..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * TableOfZprodordconfStruOutHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp.holders; - -public final class TableOfZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[] value; - - public TableOfZprodordconfStruOutHolder() { - } - - public TableOfZprodordconfStruOutHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[] value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java deleted file mode 100644 index bb3fdf9b..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ZprodordconfStruInHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp.holders; - -public final class ZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.erp.ZprodordconfStruIn value; - - public ZprodordconfStruInHolder() { - } - - public ZprodordconfStruInHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruIn value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java deleted file mode 100644 index 7a528282..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ZprodordconfStruOutHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.erp.holders; - -public final class ZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.erp.ZprodordconfStruOut value; - - public ZprodordconfStruOutHolder() { - } - - public ZprodordconfStruOutHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruOut value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl b/common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl deleted file mode 100644 index c8e0e264..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/erp/saperp.wsdl +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - -false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -false - - - - -false -true -no -false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java deleted file mode 100644 index 6c1a70ce..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_BindingStub.java +++ /dev/null @@ -1,253 +0,0 @@ -/** - * ZWS_ZMES_PRODORDCONF_BindingStub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp; - -public class ZWS_ZMES_PRODORDCONF_BindingStub extends org.apache.axis.client.Stub implements com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc [] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[1]; - _initOperationDesc1(); - } - - private static void _initOperationDesc1(){ - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("ZmesProdordconf"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "InItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[].class, false, false); - param.setItemQName(new javax.xml.namespace.QName("", "item")); - param.setOmittable(true); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "OutItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[].class, false, false); - param.setItemQName(new javax.xml.namespace.QName("", "item")); - param.setOmittable(true); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1")); - oper.setReturnClass(String.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "Ret")); - oper.setStyle(org.apache.axis.constants.Style.WRAPPED); - oper.setUse(org.apache.axis.constants.Use.LITERAL); - _operations[0] = oper; - - } - - public ZWS_ZMES_PRODORDCONF_BindingStub() throws org.apache.axis.AxisFault { - this(null); - } - - public ZWS_ZMES_PRODORDCONF_BindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public ZWS_ZMES_PRODORDCONF_BindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.1"); - Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1"); - cachedSerQNames.add(qName); - cls = String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char12"); - cachedSerQNames.add(qName); - cls = String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char4"); - cachedSerQNames.add(qName); - cls = String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char50"); - cachedSerQNames.add(qName); - cls = String.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "quantum13.3"); - cachedSerQNames.add(qName); - cls = java.math.BigDecimal.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); - cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); - qName2 = new javax.xml.namespace.QName("", "item"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); - qName2 = new javax.xml.namespace.QName("", "item"); - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); - cachedSerQNames.add(qName); - cls = com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - String key = (String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setEncodingStyle(null); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - Class cls = (Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - Class sf = (Class) - cachedSerFactories.get(i); - Class df = (Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public String zmesProdordconf(com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setEncodingStyle(null); - _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); - _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZmesProdordconf")); - - setRequestHeaders(_call); - setAttachments(_call); - try { Object _resp = _call.invoke(new Object[] {inItab.value, outItab.value}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException)_resp; - } - else { - extractAttachments(_call); - java.util.Map _output; - _output = _call.getOutputParams(); - try { - inItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[]) _output.get(new javax.xml.namespace.QName("", "InItab")); - } catch (Exception _exception) { - inItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "InItab")), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[].class); - } - try { - outItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[]) _output.get(new javax.xml.namespace.QName("", "OutItab")); - } catch (Exception _exception) { - outItab.value = (com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "OutItab")), com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[].class); - } - try { - return (String) _resp; - } catch (Exception _exception) { - return (String) org.apache.axis.utils.JavaUtils.convert(_resp, String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; -} - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java deleted file mode 100644 index dc04c861..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_Service.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * ZWS_ZMES_PRODORDCONF_Service.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp; - -public interface ZWS_ZMES_PRODORDCONF_Service extends javax.xml.rpc.Service { - public String getZWS_ZMES_PRODORDCONFAddress(); - - public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException; - - public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java deleted file mode 100644 index 07b0e781..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * ZWS_ZMES_PRODORDCONF_ServiceLocator.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp; - -public class ZWS_ZMES_PRODORDCONF_ServiceLocator extends org.apache.axis.client.Service implements com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_Service { - - public ZWS_ZMES_PRODORDCONF_ServiceLocator() { - } - - - public ZWS_ZMES_PRODORDCONF_ServiceLocator(org.apache.axis.EngineConfiguration config) { - super(config); - } - - public ZWS_ZMES_PRODORDCONF_ServiceLocator(String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { - super(wsdlLoc, sName); - } - - // Use to get a proxy class for ZWS_ZMES_PRODORDCONF - private String ZWS_ZMES_PRODORDCONF_address = "http://srm.mesnac.com:8000/sap/bc/srt/rfc/sap/zws_zmes_prodordconf/900/zws_zmes_prodordconf/zws_zmes_prodordconf"; - - public String getZWS_ZMES_PRODORDCONFAddress() { - return ZWS_ZMES_PRODORDCONF_address; - } - - // The WSDD service name defaults to the port name. - private String ZWS_ZMES_PRODORDCONFWSDDServiceName = "ZWS_ZMES_PRODORDCONF"; - - public String getZWS_ZMES_PRODORDCONFWSDDServiceName() { - return ZWS_ZMES_PRODORDCONFWSDDServiceName; - } - - public void setZWS_ZMES_PRODORDCONFWSDDServiceName(String name) { - ZWS_ZMES_PRODORDCONFWSDDServiceName = name; - } - - public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(ZWS_ZMES_PRODORDCONF_address); - } - catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getZWS_ZMES_PRODORDCONF(endpoint); - } - - public com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { - try { - com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub(portAddress, this); - _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); - return _stub; - } - catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setZWS_ZMES_PRODORDCONFEndpointAddress(String address) { - ZWS_ZMES_PRODORDCONF_address = address; - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - try { - if (com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF.class.isAssignableFrom(serviceEndpointInterface)) { - com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_BindingStub(new java.net.URL(ZWS_ZMES_PRODORDCONF_address), this); - _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); - return _stub; - } - } - catch (Throwable t) { - throw new javax.xml.rpc.ServiceException(t); - } - throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - if (portName == null) { - return getPort(serviceEndpointInterface); - } - String inputPortName = portName.getLocalPart(); - if ("ZWS_ZMES_PRODORDCONF".equals(inputPortName)) { - return getZWS_ZMES_PRODORDCONF(); - } - else { - java.rmi.Remote _stub = getPort(serviceEndpointInterface); - ((org.apache.axis.client.Stub) _stub).setPortName(portName); - return _stub; - } - } - - public javax.xml.namespace.QName getServiceName() { - return new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF"); - } - - private java.util.HashSet ports = null; - - public java.util.Iterator getPorts() { - if (ports == null) { - ports = new java.util.HashSet(); - ports.add(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF")); - } - return ports.iterator(); - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(String portName, String address) throws javax.xml.rpc.ServiceException { - -if ("ZWS_ZMES_PRODORDCONF".equals(portName)) { - setZWS_ZMES_PRODORDCONFEndpointAddress(address); - } - else -{ // Unknown Port Name - throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); - } - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(javax.xml.namespace.QName portName, String address) throws javax.xml.rpc.ServiceException { - setEndpointAddress(portName.getLocalPart(), address); - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java deleted file mode 100644 index 48bc3077..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruIn.java +++ /dev/null @@ -1,479 +0,0 @@ -/** - * ZprodordconfStruIn.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp; - -public class ZprodordconfStruIn implements java.io.Serializable { - private String aufnr; - - private String vornr; - - private String aueru; - - private java.math.BigDecimal lmnga; - - private java.math.BigDecimal xmnga; - - private java.math.BigDecimal ism01; - - private java.math.BigDecimal ism02; - - private java.math.BigDecimal ism03; - - private java.math.BigDecimal ism04; - - private java.math.BigDecimal ism05; - - private java.math.BigDecimal ism06; - - public ZprodordconfStruIn() { - } - - public ZprodordconfStruIn( - String aufnr, - String vornr, - String aueru, - java.math.BigDecimal lmnga, - java.math.BigDecimal xmnga, - java.math.BigDecimal ism01, - java.math.BigDecimal ism02, - java.math.BigDecimal ism03, - java.math.BigDecimal ism04, - java.math.BigDecimal ism05, - java.math.BigDecimal ism06) { - this.aufnr = aufnr; - this.vornr = vornr; - this.aueru = aueru; - this.lmnga = lmnga; - this.xmnga = xmnga; - this.ism01 = ism01; - this.ism02 = ism02; - this.ism03 = ism03; - this.ism04 = ism04; - this.ism05 = ism05; - this.ism06 = ism06; - } - - - /** - * Gets the aufnr value for this ZprodordconfStruIn. - * - * @return aufnr - */ - public String getAufnr() { - return aufnr; - } - - - /** - * Sets the aufnr value for this ZprodordconfStruIn. - * - * @param aufnr - */ - public void setAufnr(String aufnr) { - this.aufnr = aufnr; - } - - - /** - * Gets the vornr value for this ZprodordconfStruIn. - * - * @return vornr - */ - public String getVornr() { - return vornr; - } - - - /** - * Sets the vornr value for this ZprodordconfStruIn. - * - * @param vornr - */ - public void setVornr(String vornr) { - this.vornr = vornr; - } - - - /** - * Gets the aueru value for this ZprodordconfStruIn. - * - * @return aueru - */ - public String getAueru() { - return aueru; - } - - - /** - * Sets the aueru value for this ZprodordconfStruIn. - * - * @param aueru - */ - public void setAueru(String aueru) { - this.aueru = aueru; - } - - - /** - * Gets the lmnga value for this ZprodordconfStruIn. - * - * @return lmnga - */ - public java.math.BigDecimal getLmnga() { - return lmnga; - } - - - /** - * Sets the lmnga value for this ZprodordconfStruIn. - * - * @param lmnga - */ - public void setLmnga(java.math.BigDecimal lmnga) { - this.lmnga = lmnga; - } - - - /** - * Gets the xmnga value for this ZprodordconfStruIn. - * - * @return xmnga - */ - public java.math.BigDecimal getXmnga() { - return xmnga; - } - - - /** - * Sets the xmnga value for this ZprodordconfStruIn. - * - * @param xmnga - */ - public void setXmnga(java.math.BigDecimal xmnga) { - this.xmnga = xmnga; - } - - - /** - * Gets the ism01 value for this ZprodordconfStruIn. - * - * @return ism01 - */ - public java.math.BigDecimal getIsm01() { - return ism01; - } - - - /** - * Sets the ism01 value for this ZprodordconfStruIn. - * - * @param ism01 - */ - public void setIsm01(java.math.BigDecimal ism01) { - this.ism01 = ism01; - } - - - /** - * Gets the ism02 value for this ZprodordconfStruIn. - * - * @return ism02 - */ - public java.math.BigDecimal getIsm02() { - return ism02; - } - - - /** - * Sets the ism02 value for this ZprodordconfStruIn. - * - * @param ism02 - */ - public void setIsm02(java.math.BigDecimal ism02) { - this.ism02 = ism02; - } - - - /** - * Gets the ism03 value for this ZprodordconfStruIn. - * - * @return ism03 - */ - public java.math.BigDecimal getIsm03() { - return ism03; - } - - - /** - * Sets the ism03 value for this ZprodordconfStruIn. - * - * @param ism03 - */ - public void setIsm03(java.math.BigDecimal ism03) { - this.ism03 = ism03; - } - - - /** - * Gets the ism04 value for this ZprodordconfStruIn. - * - * @return ism04 - */ - public java.math.BigDecimal getIsm04() { - return ism04; - } - - - /** - * Sets the ism04 value for this ZprodordconfStruIn. - * - * @param ism04 - */ - public void setIsm04(java.math.BigDecimal ism04) { - this.ism04 = ism04; - } - - - /** - * Gets the ism05 value for this ZprodordconfStruIn. - * - * @return ism05 - */ - public java.math.BigDecimal getIsm05() { - return ism05; - } - - - /** - * Sets the ism05 value for this ZprodordconfStruIn. - * - * @param ism05 - */ - public void setIsm05(java.math.BigDecimal ism05) { - this.ism05 = ism05; - } - - - /** - * Gets the ism06 value for this ZprodordconfStruIn. - * - * @return ism06 - */ - public java.math.BigDecimal getIsm06() { - return ism06; - } - - - /** - * Sets the ism06 value for this ZprodordconfStruIn. - * - * @param ism06 - */ - public void setIsm06(java.math.BigDecimal ism06) { - this.ism06 = ism06; - } - - private Object __equalsCalc = null; - public synchronized boolean equals(Object obj) { - if (!(obj instanceof ZprodordconfStruIn)) return false; - ZprodordconfStruIn other = (ZprodordconfStruIn) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.aufnr==null && other.getAufnr()==null) || - (this.aufnr!=null && - this.aufnr.equals(other.getAufnr()))) && - ((this.vornr==null && other.getVornr()==null) || - (this.vornr!=null && - this.vornr.equals(other.getVornr()))) && - ((this.aueru==null && other.getAueru()==null) || - (this.aueru!=null && - this.aueru.equals(other.getAueru()))) && - ((this.lmnga==null && other.getLmnga()==null) || - (this.lmnga!=null && - this.lmnga.equals(other.getLmnga()))) && - ((this.xmnga==null && other.getXmnga()==null) || - (this.xmnga!=null && - this.xmnga.equals(other.getXmnga()))) && - ((this.ism01==null && other.getIsm01()==null) || - (this.ism01!=null && - this.ism01.equals(other.getIsm01()))) && - ((this.ism02==null && other.getIsm02()==null) || - (this.ism02!=null && - this.ism02.equals(other.getIsm02()))) && - ((this.ism03==null && other.getIsm03()==null) || - (this.ism03!=null && - this.ism03.equals(other.getIsm03()))) && - ((this.ism04==null && other.getIsm04()==null) || - (this.ism04!=null && - this.ism04.equals(other.getIsm04()))) && - ((this.ism05==null && other.getIsm05()==null) || - (this.ism05!=null && - this.ism05.equals(other.getIsm05()))) && - ((this.ism06==null && other.getIsm06()==null) || - (this.ism06!=null && - this.ism06.equals(other.getIsm06()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAufnr() != null) { - _hashCode += getAufnr().hashCode(); - } - if (getVornr() != null) { - _hashCode += getVornr().hashCode(); - } - if (getAueru() != null) { - _hashCode += getAueru().hashCode(); - } - if (getLmnga() != null) { - _hashCode += getLmnga().hashCode(); - } - if (getXmnga() != null) { - _hashCode += getXmnga().hashCode(); - } - if (getIsm01() != null) { - _hashCode += getIsm01().hashCode(); - } - if (getIsm02() != null) { - _hashCode += getIsm02().hashCode(); - } - if (getIsm03() != null) { - _hashCode += getIsm03().hashCode(); - } - if (getIsm04() != null) { - _hashCode += getIsm04().hashCode(); - } - if (getIsm05() != null) { - _hashCode += getIsm05().hashCode(); - } - if (getIsm06() != null) { - _hashCode += getIsm06().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ZprodordconfStruIn.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aufnr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("vornr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aueru"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("lmnga"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("xmnga"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Xmnga")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism01"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism02"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism03"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism04"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism05"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism06"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java deleted file mode 100644 index fdf147ad..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/ZprodordconfStruOut.java +++ /dev/null @@ -1,515 +0,0 @@ -/** - * ZprodordconfStruOut.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp; - -public class ZprodordconfStruOut implements java.io.Serializable { - private String aufnr; - - private String vornr; - - private String aueru; - - private java.math.BigDecimal lmnga; - - private java.math.BigDecimal ism01; - - private java.math.BigDecimal ism02; - - private java.math.BigDecimal ism03; - - private java.math.BigDecimal ism04; - - private java.math.BigDecimal ism05; - - private java.math.BigDecimal ism06; - - private String ret; - - private String msg; - - public ZprodordconfStruOut() { - } - - public ZprodordconfStruOut( - String aufnr, - String vornr, - String aueru, - java.math.BigDecimal lmnga, - java.math.BigDecimal ism01, - java.math.BigDecimal ism02, - java.math.BigDecimal ism03, - java.math.BigDecimal ism04, - java.math.BigDecimal ism05, - java.math.BigDecimal ism06, - String ret, - String msg) { - this.aufnr = aufnr; - this.vornr = vornr; - this.aueru = aueru; - this.lmnga = lmnga; - this.ism01 = ism01; - this.ism02 = ism02; - this.ism03 = ism03; - this.ism04 = ism04; - this.ism05 = ism05; - this.ism06 = ism06; - this.ret = ret; - this.msg = msg; - } - - - /** - * Gets the aufnr value for this ZprodordconfStruOut. - * - * @return aufnr - */ - public String getAufnr() { - return aufnr; - } - - - /** - * Sets the aufnr value for this ZprodordconfStruOut. - * - * @param aufnr - */ - public void setAufnr(String aufnr) { - this.aufnr = aufnr; - } - - - /** - * Gets the vornr value for this ZprodordconfStruOut. - * - * @return vornr - */ - public String getVornr() { - return vornr; - } - - - /** - * Sets the vornr value for this ZprodordconfStruOut. - * - * @param vornr - */ - public void setVornr(String vornr) { - this.vornr = vornr; - } - - - /** - * Gets the aueru value for this ZprodordconfStruOut. - * - * @return aueru - */ - public String getAueru() { - return aueru; - } - - - /** - * Sets the aueru value for this ZprodordconfStruOut. - * - * @param aueru - */ - public void setAueru(String aueru) { - this.aueru = aueru; - } - - - /** - * Gets the lmnga value for this ZprodordconfStruOut. - * - * @return lmnga - */ - public java.math.BigDecimal getLmnga() { - return lmnga; - } - - - /** - * Sets the lmnga value for this ZprodordconfStruOut. - * - * @param lmnga - */ - public void setLmnga(java.math.BigDecimal lmnga) { - this.lmnga = lmnga; - } - - - /** - * Gets the ism01 value for this ZprodordconfStruOut. - * - * @return ism01 - */ - public java.math.BigDecimal getIsm01() { - return ism01; - } - - - /** - * Sets the ism01 value for this ZprodordconfStruOut. - * - * @param ism01 - */ - public void setIsm01(java.math.BigDecimal ism01) { - this.ism01 = ism01; - } - - - /** - * Gets the ism02 value for this ZprodordconfStruOut. - * - * @return ism02 - */ - public java.math.BigDecimal getIsm02() { - return ism02; - } - - - /** - * Sets the ism02 value for this ZprodordconfStruOut. - * - * @param ism02 - */ - public void setIsm02(java.math.BigDecimal ism02) { - this.ism02 = ism02; - } - - - /** - * Gets the ism03 value for this ZprodordconfStruOut. - * - * @return ism03 - */ - public java.math.BigDecimal getIsm03() { - return ism03; - } - - - /** - * Sets the ism03 value for this ZprodordconfStruOut. - * - * @param ism03 - */ - public void setIsm03(java.math.BigDecimal ism03) { - this.ism03 = ism03; - } - - - /** - * Gets the ism04 value for this ZprodordconfStruOut. - * - * @return ism04 - */ - public java.math.BigDecimal getIsm04() { - return ism04; - } - - - /** - * Sets the ism04 value for this ZprodordconfStruOut. - * - * @param ism04 - */ - public void setIsm04(java.math.BigDecimal ism04) { - this.ism04 = ism04; - } - - - /** - * Gets the ism05 value for this ZprodordconfStruOut. - * - * @return ism05 - */ - public java.math.BigDecimal getIsm05() { - return ism05; - } - - - /** - * Sets the ism05 value for this ZprodordconfStruOut. - * - * @param ism05 - */ - public void setIsm05(java.math.BigDecimal ism05) { - this.ism05 = ism05; - } - - - /** - * Gets the ism06 value for this ZprodordconfStruOut. - * - * @return ism06 - */ - public java.math.BigDecimal getIsm06() { - return ism06; - } - - - /** - * Sets the ism06 value for this ZprodordconfStruOut. - * - * @param ism06 - */ - public void setIsm06(java.math.BigDecimal ism06) { - this.ism06 = ism06; - } - - - /** - * Gets the ret value for this ZprodordconfStruOut. - * - * @return ret - */ - public String getRet() { - return ret; - } - - - /** - * Sets the ret value for this ZprodordconfStruOut. - * - * @param ret - */ - public void setRet(String ret) { - this.ret = ret; - } - - - /** - * Gets the msg value for this ZprodordconfStruOut. - * - * @return msg - */ - public String getMsg() { - return msg; - } - - - /** - * Sets the msg value for this ZprodordconfStruOut. - * - * @param msg - */ - public void setMsg(String msg) { - this.msg = msg; - } - - private Object __equalsCalc = null; - public synchronized boolean equals(Object obj) { - if (!(obj instanceof ZprodordconfStruOut)) return false; - ZprodordconfStruOut other = (ZprodordconfStruOut) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.aufnr==null && other.getAufnr()==null) || - (this.aufnr!=null && - this.aufnr.equals(other.getAufnr()))) && - ((this.vornr==null && other.getVornr()==null) || - (this.vornr!=null && - this.vornr.equals(other.getVornr()))) && - ((this.aueru==null && other.getAueru()==null) || - (this.aueru!=null && - this.aueru.equals(other.getAueru()))) && - ((this.lmnga==null && other.getLmnga()==null) || - (this.lmnga!=null && - this.lmnga.equals(other.getLmnga()))) && - ((this.ism01==null && other.getIsm01()==null) || - (this.ism01!=null && - this.ism01.equals(other.getIsm01()))) && - ((this.ism02==null && other.getIsm02()==null) || - (this.ism02!=null && - this.ism02.equals(other.getIsm02()))) && - ((this.ism03==null && other.getIsm03()==null) || - (this.ism03!=null && - this.ism03.equals(other.getIsm03()))) && - ((this.ism04==null && other.getIsm04()==null) || - (this.ism04!=null && - this.ism04.equals(other.getIsm04()))) && - ((this.ism05==null && other.getIsm05()==null) || - (this.ism05!=null && - this.ism05.equals(other.getIsm05()))) && - ((this.ism06==null && other.getIsm06()==null) || - (this.ism06!=null && - this.ism06.equals(other.getIsm06()))) && - ((this.ret==null && other.getRet()==null) || - (this.ret!=null && - this.ret.equals(other.getRet()))) && - ((this.msg==null && other.getMsg()==null) || - (this.msg!=null && - this.msg.equals(other.getMsg()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAufnr() != null) { - _hashCode += getAufnr().hashCode(); - } - if (getVornr() != null) { - _hashCode += getVornr().hashCode(); - } - if (getAueru() != null) { - _hashCode += getAueru().hashCode(); - } - if (getLmnga() != null) { - _hashCode += getLmnga().hashCode(); - } - if (getIsm01() != null) { - _hashCode += getIsm01().hashCode(); - } - if (getIsm02() != null) { - _hashCode += getIsm02().hashCode(); - } - if (getIsm03() != null) { - _hashCode += getIsm03().hashCode(); - } - if (getIsm04() != null) { - _hashCode += getIsm04().hashCode(); - } - if (getIsm05() != null) { - _hashCode += getIsm05().hashCode(); - } - if (getIsm06() != null) { - _hashCode += getIsm06().hashCode(); - } - if (getRet() != null) { - _hashCode += getRet().hashCode(); - } - if (getMsg() != null) { - _hashCode += getMsg().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ZprodordconfStruOut.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aufnr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("vornr"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aueru"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("lmnga"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism01"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism02"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism03"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism04"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism05"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ism06"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ret"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Ret")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("msg"); - elemField.setXmlName(new javax.xml.namespace.QName("", "Msg")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java deleted file mode 100644 index 870c5039..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/Zws_zmes_PRODORDCONF.java +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Zws_zmes_PRODORDCONF.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp; - -public interface Zws_zmes_PRODORDCONF extends java.rmi.Remote { - public String zmesProdordconf(com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException; -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl deleted file mode 100644 index 84931cac..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/document.wsdl +++ /dev/null @@ -1 +0,0 @@ -falsefalsefalsetruenofalse \ No newline at end of file diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java deleted file mode 100644 index 2d0c76c5..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruInHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * TableOfZprodordconfStruInHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp.holders; - -public final class TableOfZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[] value; - - public TableOfZprodordconfStruInHolder() { - } - - public TableOfZprodordconfStruInHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn[] value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java deleted file mode 100644 index 4c22eb7f..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/TableOfZprodordconfStruOutHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * TableOfZprodordconfStruOutHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp.holders; - -public final class TableOfZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[] value; - - public TableOfZprodordconfStruOutHolder() { - } - - public TableOfZprodordconfStruOutHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut[] value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java deleted file mode 100644 index 18479164..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruInHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ZprodordconfStruInHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp.holders; - -public final class ZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn value; - - public ZprodordconfStruInHolder() { - } - - public ZprodordconfStruInHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java deleted file mode 100644 index 08796bc3..00000000 --- a/common/src/main/java/com/foreverwin/mesnac/common/prodErp/holders/ZprodordconfStruOutHolder.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * ZprodordconfStruOutHolder.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.foreverwin.mesnac.common.prodErp.holders; - -public final class ZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { - public com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut value; - - public ZprodordconfStruOutHolder() { - } - - public ZprodordconfStruOutHolder(com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut value) { - this.value = value; - } - -} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java b/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java index 960a06e8..c22a155c 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java +++ b/common/src/main/java/com/foreverwin/mesnac/common/util/ERPAPI.java @@ -1,7 +1,7 @@ package com.foreverwin.mesnac.common.util; -import com.foreverwin.mesnac.common.prodErp.ZWS_ZMES_PRODORDCONF_ServiceLocator; -import com.foreverwin.mesnac.common.prodErp.Zws_zmes_PRODORDCONF; +import com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_ServiceLocator; +import com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF; import com.foreverwin.mesnac.meapi.util.StringUtils; import org.apache.axis.client.Stub; diff --git a/console/src/main/resources/application-local.yml b/console/src/main/resources/application-local.yml index 3e8ab68f..31b82509 100644 --- a/console/src/main/resources/application-local.yml +++ b/console/src/main/resources/application-local.yml @@ -58,11 +58,11 @@ activemq: #WebService ws: erp: - server: 172.16.251.223 + server: srm.mesnac.com port: 8000 - user: mesd001 - pwd: a123456 - valid: N + user: mes001 + pwd: mesprd + valid: Y #quartz任务启用 quartz: diff --git a/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java b/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java index 72270098..9a0311d3 100644 --- a/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java +++ b/console/src/test/java/com/foreverwin/mesnac/console/TmdMc.java @@ -1,9 +1,9 @@ package com.foreverwin.mesnac.console; -import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn; -import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut; -import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder; -import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder; +import com.foreverwin.mesnac.common.erp.ZprodordconfStruIn; +import com.foreverwin.mesnac.common.erp.ZprodordconfStruOut; +import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder; +import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder; import com.foreverwin.mesnac.common.util.ERPAPI; import org.junit.Test; import org.junit.runner.RunWith; @@ -22,8 +22,8 @@ public class TmdMc { @Test public void callErpWebService() throws RemoteException { - String shopOrder = "SO20210714"; - String stepId = "OP001"; + String shopOrder = "000100434347"; + String stepId = "0060"; //请求参数 @@ -57,7 +57,6 @@ public class TmdMc { struOut.setAufnr(shopOrder); struOut.setVornr(stepId); struOut.setAueru("1"); - struOut.setLmnga(new BigDecimal(1)); struOut.setRet(""); struOut.setMsg(""); outs[0] = struOut; @@ -65,9 +64,13 @@ public class TmdMc { //调用WS ERPAPI.erpWebService().zmesProdordconf(inHolder, outHolder); - //状态: S|成功, E|失败 - String status = outHolder.value[1].getRet(); - String message = outHolder.value[1].getMsg(); - System.out.println("ERP接口返回:状态:" + status + ",消息:" + message); + if (outHolder == null || outHolder.value == null || outHolder.value.length <= 0) { + System.out.println("ERP接口失败"); + } else { + //状态: S|成功, E|失败 + String status = outHolder.value[1].getRet(); + String message = outHolder.value[1].getMsg(); + System.out.println("ERP接口返回:状态:" + status + ",消息:" + message); + } } } diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java index 9a1cdd82..69b4277c 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/controller/ItemBatchController.java @@ -2,10 +2,10 @@ package com.foreverwin.mesnac.dispatch.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; -import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn; -import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut; -import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder; -import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder; +import com.foreverwin.mesnac.common.erp.ZprodordconfStruIn; +import com.foreverwin.mesnac.common.erp.ZprodordconfStruOut; +import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder; +import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder; import com.foreverwin.mesnac.common.util.ERPAPI; import com.foreverwin.mesnac.dispatch.model.ItemBatch; import com.foreverwin.mesnac.dispatch.service.ItemBatchService; diff --git a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java index f957763f..8f23e906 100644 --- a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java +++ b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java @@ -7,10 +7,10 @@ import com.foreverwin.mesnac.common.constant.Constants; import com.foreverwin.mesnac.common.constant.IntegrationTypeConstant; import com.foreverwin.mesnac.common.enums.DispatchStatusEnum; import com.foreverwin.mesnac.common.enums.HandleEnum; -import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruIn; -import com.foreverwin.mesnac.common.prodErp.ZprodordconfStruOut; -import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruInHolder; -import com.foreverwin.mesnac.common.prodErp.holders.TableOfZprodordconfStruOutHolder; +import com.foreverwin.mesnac.common.erp.ZprodordconfStruIn; +import com.foreverwin.mesnac.common.erp.ZprodordconfStruOut; +import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder; +import com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder; import com.foreverwin.mesnac.common.model.InspectionItemDetail; import com.foreverwin.mesnac.common.model.InspectionTask; import com.foreverwin.mesnac.common.service.CommonService; From 6104256f192710314173c7e782762fcf04f61afa Mon Sep 17 00:00:00 2001 From: Limy <1353020654@qq.com> Date: Mon, 30 Aug 2021 18:38:09 +0800 Subject: [PATCH 11/11] =?UTF-8?q?ERP=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../erp/ZWS_ZMES_PRODORDCONF_BindingStub.java | 253 +++++++++ .../erp/ZWS_ZMES_PRODORDCONF_Service.java | 16 + .../ZWS_ZMES_PRODORDCONF_ServiceLocator.java | 142 +++++ .../mesnac/common/erp/ZprodordconfStruIn.java | 479 ++++++++++++++++ .../common/erp/ZprodordconfStruOut.java | 515 ++++++++++++++++++ .../common/erp/Zws_zmes_PRODORDCONF.java | 12 + .../mesnac/common/erp/document.wsdl | 1 + .../TableOfZprodordconfStruInHolder.java | 20 + .../TableOfZprodordconfStruOutHolder.java | 20 + .../erp/holders/ZprodordconfStruInHolder.java | 20 + .../holders/ZprodordconfStruOutHolder.java | 20 + 11 files changed, 1498 insertions(+) create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/document.wsdl create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java create mode 100644 common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java new file mode 100644 index 00000000..f47b2cf1 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_BindingStub.java @@ -0,0 +1,253 @@ +/** + * ZWS_ZMES_PRODORDCONF_BindingStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp; + +public class ZWS_ZMES_PRODORDCONF_BindingStub extends org.apache.axis.client.Stub implements com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF { + private java.util.Vector cachedSerClasses = new java.util.Vector(); + private java.util.Vector cachedSerQNames = new java.util.Vector(); + private java.util.Vector cachedSerFactories = new java.util.Vector(); + private java.util.Vector cachedDeserFactories = new java.util.Vector(); + + static org.apache.axis.description.OperationDesc [] _operations; + + static { + _operations = new org.apache.axis.description.OperationDesc[1]; + _initOperationDesc1(); + } + + private static void _initOperationDesc1(){ + org.apache.axis.description.OperationDesc oper; + org.apache.axis.description.ParameterDesc param; + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("ZmesProdordconf"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "InItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"), com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[].class, false, false); + param.setItemQName(new javax.xml.namespace.QName("", "item")); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "OutItab"), org.apache.axis.description.ParameterDesc.INOUT, new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"), com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[].class, false, false); + param.setItemQName(new javax.xml.namespace.QName("", "item")); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1")); + oper.setReturnClass(java.lang.String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "Ret")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[0] = oper; + + } + + public ZWS_ZMES_PRODORDCONF_BindingStub() throws org.apache.axis.AxisFault { + this(null); + } + + public ZWS_ZMES_PRODORDCONF_BindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { + this(service); + super.cachedEndpoint = endpointURL; + } + + public ZWS_ZMES_PRODORDCONF_BindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { + if (service == null) { + super.service = new org.apache.axis.client.Service(); + } else { + super.service = service; + } + ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.1"); + java.lang.Class cls; + javax.xml.namespace.QName qName; + javax.xml.namespace.QName qName2; + java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; + java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; + java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; + java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; + java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; + java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; + java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; + java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; + java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; + java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char1"); + cachedSerQNames.add(qName); + cls = java.lang.String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char12"); + cachedSerQNames.add(qName); + cls = java.lang.String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char4"); + cachedSerQNames.add(qName); + cls = java.lang.String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "char50"); + cachedSerQNames.add(qName); + cls = java.lang.String.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:rfc:functions", "quantum13.3"); + cachedSerQNames.add(qName); + cls = java.math.BigDecimal.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); + cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruIn"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[].class; + cachedSerClasses.add(cls); + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); + qName2 = new javax.xml.namespace.QName("", "item"); + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "TableOfZprodordconfStruOut"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[].class; + cachedSerClasses.add(cls); + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); + qName2 = new javax.xml.namespace.QName("", "item"); + cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); + cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruIn.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut"); + cachedSerQNames.add(qName); + cls = com.foreverwin.mesnac.common.erp.ZprodordconfStruOut.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + } + + protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { + try { + org.apache.axis.client.Call _call = super._createCall(); + if (super.maintainSessionSet) { + _call.setMaintainSession(super.maintainSession); + } + if (super.cachedUsername != null) { + _call.setUsername(super.cachedUsername); + } + if (super.cachedPassword != null) { + _call.setPassword(super.cachedPassword); + } + if (super.cachedEndpoint != null) { + _call.setTargetEndpointAddress(super.cachedEndpoint); + } + if (super.cachedTimeout != null) { + _call.setTimeout(super.cachedTimeout); + } + if (super.cachedPortName != null) { + _call.setPortName(super.cachedPortName); + } + java.util.Enumeration keys = super.cachedProperties.keys(); + while (keys.hasMoreElements()) { + java.lang.String key = (java.lang.String) keys.nextElement(); + _call.setProperty(key, super.cachedProperties.get(key)); + } + // All the type mapping information is registered + // when the first call is made. + // The type mapping information is actually registered in + // the TypeMappingRegistry of the service, which + // is the reason why registration is only needed for the first call. + synchronized (this) { + if (firstCall()) { + // must set encoding style before registering serializers + _call.setEncodingStyle(null); + for (int i = 0; i < cachedSerFactories.size(); ++i) { + java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); + javax.xml.namespace.QName qName = + (javax.xml.namespace.QName) cachedSerQNames.get(i); + java.lang.Object x = cachedSerFactories.get(i); + if (x instanceof Class) { + java.lang.Class sf = (java.lang.Class) + cachedSerFactories.get(i); + java.lang.Class df = (java.lang.Class) + cachedDeserFactories.get(i); + _call.registerTypeMapping(cls, qName, sf, df, false); + } + else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { + org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) + cachedSerFactories.get(i); + org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) + cachedDeserFactories.get(i); + _call.registerTypeMapping(cls, qName, sf, df, false); + } + } + } + } + return _call; + } + catch (java.lang.Throwable _t) { + throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); + } + } + + public java.lang.String zmesProdordconf(com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException { + if (super.cachedEndpoint == null) { + throw new org.apache.axis.NoEndPointException(); + } + org.apache.axis.client.Call _call = createCall(); + _call.setOperation(_operations[0]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZmesProdordconf")); + + setRequestHeaders(_call); + setAttachments(_call); + try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {inItab.value, outItab.value}); + + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + } + else { + extractAttachments(_call); + java.util.Map _output; + _output = _call.getOutputParams(); + try { + inItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[]) _output.get(new javax.xml.namespace.QName("", "InItab")); + } catch (java.lang.Exception _exception) { + inItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "InItab")), com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[].class); + } + try { + outItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[]) _output.get(new javax.xml.namespace.QName("", "OutItab")); + } catch (java.lang.Exception _exception) { + outItab.value = (com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[]) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "OutItab")), com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[].class); + } + try { + return (java.lang.String) _resp; + } catch (java.lang.Exception _exception) { + return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; +} + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java new file mode 100644 index 00000000..ee18295c --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_Service.java @@ -0,0 +1,16 @@ +/** + * ZWS_ZMES_PRODORDCONF_Service.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp; + +public interface ZWS_ZMES_PRODORDCONF_Service extends javax.xml.rpc.Service { + public java.lang.String getZWS_ZMES_PRODORDCONFAddress(); + + public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException; + + public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java new file mode 100644 index 00000000..a4c1bc19 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZWS_ZMES_PRODORDCONF_ServiceLocator.java @@ -0,0 +1,142 @@ +/** + * ZWS_ZMES_PRODORDCONF_ServiceLocator.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp; + +public class ZWS_ZMES_PRODORDCONF_ServiceLocator extends org.apache.axis.client.Service implements com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_Service { + + public ZWS_ZMES_PRODORDCONF_ServiceLocator() { + } + + + public ZWS_ZMES_PRODORDCONF_ServiceLocator(org.apache.axis.EngineConfiguration config) { + super(config); + } + + public ZWS_ZMES_PRODORDCONF_ServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { + super(wsdlLoc, sName); + } + + // Use to get a proxy class for ZWS_ZMES_PRODORDCONF + private java.lang.String ZWS_ZMES_PRODORDCONF_address = "http://srm.mesnac.com:8000/sap/bc/srt/rfc/sap/zws_zmes_prodordconf/900/zws_zmes_prodordconf/zws_zmes_prodordconf"; + + public java.lang.String getZWS_ZMES_PRODORDCONFAddress() { + return ZWS_ZMES_PRODORDCONF_address; + } + + // The WSDD service name defaults to the port name. + private java.lang.String ZWS_ZMES_PRODORDCONFWSDDServiceName = "ZWS_ZMES_PRODORDCONF"; + + public java.lang.String getZWS_ZMES_PRODORDCONFWSDDServiceName() { + return ZWS_ZMES_PRODORDCONFWSDDServiceName; + } + + public void setZWS_ZMES_PRODORDCONFWSDDServiceName(java.lang.String name) { + ZWS_ZMES_PRODORDCONFWSDDServiceName = name; + } + + public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF() throws javax.xml.rpc.ServiceException { + java.net.URL endpoint; + try { + endpoint = new java.net.URL(ZWS_ZMES_PRODORDCONF_address); + } + catch (java.net.MalformedURLException e) { + throw new javax.xml.rpc.ServiceException(e); + } + return getZWS_ZMES_PRODORDCONF(endpoint); + } + + public com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF getZWS_ZMES_PRODORDCONF(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { + try { + com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub(portAddress, this); + _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); + return _stub; + } + catch (org.apache.axis.AxisFault e) { + return null; + } + } + + public void setZWS_ZMES_PRODORDCONFEndpointAddress(java.lang.String address) { + ZWS_ZMES_PRODORDCONF_address = address; + } + + /** + * For the given interface, get the stub implementation. + * If this service has no port for the given interface, + * then ServiceException is thrown. + */ + public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { + try { + if (com.foreverwin.mesnac.common.erp.Zws_zmes_PRODORDCONF.class.isAssignableFrom(serviceEndpointInterface)) { + com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub _stub = new com.foreverwin.mesnac.common.erp.ZWS_ZMES_PRODORDCONF_BindingStub(new java.net.URL(ZWS_ZMES_PRODORDCONF_address), this); + _stub.setPortName(getZWS_ZMES_PRODORDCONFWSDDServiceName()); + return _stub; + } + } + catch (java.lang.Throwable t) { + throw new javax.xml.rpc.ServiceException(t); + } + throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); + } + + /** + * For the given interface, get the stub implementation. + * If this service has no port for the given interface, + * then ServiceException is thrown. + */ + public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { + if (portName == null) { + return getPort(serviceEndpointInterface); + } + java.lang.String inputPortName = portName.getLocalPart(); + if ("ZWS_ZMES_PRODORDCONF".equals(inputPortName)) { + return getZWS_ZMES_PRODORDCONF(); + } + else { + java.rmi.Remote _stub = getPort(serviceEndpointInterface); + ((org.apache.axis.client.Stub) _stub).setPortName(portName); + return _stub; + } + } + + public javax.xml.namespace.QName getServiceName() { + return new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF"); + } + + private java.util.HashSet ports = null; + + public java.util.Iterator getPorts() { + if (ports == null) { + ports = new java.util.HashSet(); + ports.add(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZWS_ZMES_PRODORDCONF")); + } + return ports.iterator(); + } + + /** + * Set the endpoint address for the specified port name. + */ + public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { + +if ("ZWS_ZMES_PRODORDCONF".equals(portName)) { + setZWS_ZMES_PRODORDCONFEndpointAddress(address); + } + else +{ // Unknown Port Name + throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); + } + } + + /** + * Set the endpoint address for the specified port name. + */ + public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { + setEndpointAddress(portName.getLocalPart(), address); + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java new file mode 100644 index 00000000..87f5382d --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruIn.java @@ -0,0 +1,479 @@ +/** + * ZprodordconfStruIn.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp; + +public class ZprodordconfStruIn implements java.io.Serializable { + private java.lang.String aufnr; + + private java.lang.String vornr; + + private java.lang.String aueru; + + private java.math.BigDecimal lmnga; + + private java.math.BigDecimal xmnga; + + private java.math.BigDecimal ism01; + + private java.math.BigDecimal ism02; + + private java.math.BigDecimal ism03; + + private java.math.BigDecimal ism04; + + private java.math.BigDecimal ism05; + + private java.math.BigDecimal ism06; + + public ZprodordconfStruIn() { + } + + public ZprodordconfStruIn( + java.lang.String aufnr, + java.lang.String vornr, + java.lang.String aueru, + java.math.BigDecimal lmnga, + java.math.BigDecimal xmnga, + java.math.BigDecimal ism01, + java.math.BigDecimal ism02, + java.math.BigDecimal ism03, + java.math.BigDecimal ism04, + java.math.BigDecimal ism05, + java.math.BigDecimal ism06) { + this.aufnr = aufnr; + this.vornr = vornr; + this.aueru = aueru; + this.lmnga = lmnga; + this.xmnga = xmnga; + this.ism01 = ism01; + this.ism02 = ism02; + this.ism03 = ism03; + this.ism04 = ism04; + this.ism05 = ism05; + this.ism06 = ism06; + } + + + /** + * Gets the aufnr value for this ZprodordconfStruIn. + * + * @return aufnr + */ + public java.lang.String getAufnr() { + return aufnr; + } + + + /** + * Sets the aufnr value for this ZprodordconfStruIn. + * + * @param aufnr + */ + public void setAufnr(java.lang.String aufnr) { + this.aufnr = aufnr; + } + + + /** + * Gets the vornr value for this ZprodordconfStruIn. + * + * @return vornr + */ + public java.lang.String getVornr() { + return vornr; + } + + + /** + * Sets the vornr value for this ZprodordconfStruIn. + * + * @param vornr + */ + public void setVornr(java.lang.String vornr) { + this.vornr = vornr; + } + + + /** + * Gets the aueru value for this ZprodordconfStruIn. + * + * @return aueru + */ + public java.lang.String getAueru() { + return aueru; + } + + + /** + * Sets the aueru value for this ZprodordconfStruIn. + * + * @param aueru + */ + public void setAueru(java.lang.String aueru) { + this.aueru = aueru; + } + + + /** + * Gets the lmnga value for this ZprodordconfStruIn. + * + * @return lmnga + */ + public java.math.BigDecimal getLmnga() { + return lmnga; + } + + + /** + * Sets the lmnga value for this ZprodordconfStruIn. + * + * @param lmnga + */ + public void setLmnga(java.math.BigDecimal lmnga) { + this.lmnga = lmnga; + } + + + /** + * Gets the xmnga value for this ZprodordconfStruIn. + * + * @return xmnga + */ + public java.math.BigDecimal getXmnga() { + return xmnga; + } + + + /** + * Sets the xmnga value for this ZprodordconfStruIn. + * + * @param xmnga + */ + public void setXmnga(java.math.BigDecimal xmnga) { + this.xmnga = xmnga; + } + + + /** + * Gets the ism01 value for this ZprodordconfStruIn. + * + * @return ism01 + */ + public java.math.BigDecimal getIsm01() { + return ism01; + } + + + /** + * Sets the ism01 value for this ZprodordconfStruIn. + * + * @param ism01 + */ + public void setIsm01(java.math.BigDecimal ism01) { + this.ism01 = ism01; + } + + + /** + * Gets the ism02 value for this ZprodordconfStruIn. + * + * @return ism02 + */ + public java.math.BigDecimal getIsm02() { + return ism02; + } + + + /** + * Sets the ism02 value for this ZprodordconfStruIn. + * + * @param ism02 + */ + public void setIsm02(java.math.BigDecimal ism02) { + this.ism02 = ism02; + } + + + /** + * Gets the ism03 value for this ZprodordconfStruIn. + * + * @return ism03 + */ + public java.math.BigDecimal getIsm03() { + return ism03; + } + + + /** + * Sets the ism03 value for this ZprodordconfStruIn. + * + * @param ism03 + */ + public void setIsm03(java.math.BigDecimal ism03) { + this.ism03 = ism03; + } + + + /** + * Gets the ism04 value for this ZprodordconfStruIn. + * + * @return ism04 + */ + public java.math.BigDecimal getIsm04() { + return ism04; + } + + + /** + * Sets the ism04 value for this ZprodordconfStruIn. + * + * @param ism04 + */ + public void setIsm04(java.math.BigDecimal ism04) { + this.ism04 = ism04; + } + + + /** + * Gets the ism05 value for this ZprodordconfStruIn. + * + * @return ism05 + */ + public java.math.BigDecimal getIsm05() { + return ism05; + } + + + /** + * Sets the ism05 value for this ZprodordconfStruIn. + * + * @param ism05 + */ + public void setIsm05(java.math.BigDecimal ism05) { + this.ism05 = ism05; + } + + + /** + * Gets the ism06 value for this ZprodordconfStruIn. + * + * @return ism06 + */ + public java.math.BigDecimal getIsm06() { + return ism06; + } + + + /** + * Sets the ism06 value for this ZprodordconfStruIn. + * + * @param ism06 + */ + public void setIsm06(java.math.BigDecimal ism06) { + this.ism06 = ism06; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof ZprodordconfStruIn)) return false; + ZprodordconfStruIn other = (ZprodordconfStruIn) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.aufnr==null && other.getAufnr()==null) || + (this.aufnr!=null && + this.aufnr.equals(other.getAufnr()))) && + ((this.vornr==null && other.getVornr()==null) || + (this.vornr!=null && + this.vornr.equals(other.getVornr()))) && + ((this.aueru==null && other.getAueru()==null) || + (this.aueru!=null && + this.aueru.equals(other.getAueru()))) && + ((this.lmnga==null && other.getLmnga()==null) || + (this.lmnga!=null && + this.lmnga.equals(other.getLmnga()))) && + ((this.xmnga==null && other.getXmnga()==null) || + (this.xmnga!=null && + this.xmnga.equals(other.getXmnga()))) && + ((this.ism01==null && other.getIsm01()==null) || + (this.ism01!=null && + this.ism01.equals(other.getIsm01()))) && + ((this.ism02==null && other.getIsm02()==null) || + (this.ism02!=null && + this.ism02.equals(other.getIsm02()))) && + ((this.ism03==null && other.getIsm03()==null) || + (this.ism03!=null && + this.ism03.equals(other.getIsm03()))) && + ((this.ism04==null && other.getIsm04()==null) || + (this.ism04!=null && + this.ism04.equals(other.getIsm04()))) && + ((this.ism05==null && other.getIsm05()==null) || + (this.ism05!=null && + this.ism05.equals(other.getIsm05()))) && + ((this.ism06==null && other.getIsm06()==null) || + (this.ism06!=null && + this.ism06.equals(other.getIsm06()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getAufnr() != null) { + _hashCode += getAufnr().hashCode(); + } + if (getVornr() != null) { + _hashCode += getVornr().hashCode(); + } + if (getAueru() != null) { + _hashCode += getAueru().hashCode(); + } + if (getLmnga() != null) { + _hashCode += getLmnga().hashCode(); + } + if (getXmnga() != null) { + _hashCode += getXmnga().hashCode(); + } + if (getIsm01() != null) { + _hashCode += getIsm01().hashCode(); + } + if (getIsm02() != null) { + _hashCode += getIsm02().hashCode(); + } + if (getIsm03() != null) { + _hashCode += getIsm03().hashCode(); + } + if (getIsm04() != null) { + _hashCode += getIsm04().hashCode(); + } + if (getIsm05() != null) { + _hashCode += getIsm05().hashCode(); + } + if (getIsm06() != null) { + _hashCode += getIsm06().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ZprodordconfStruIn.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruIn")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aufnr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("vornr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aueru"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lmnga"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("xmnga"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Xmnga")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism01"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism02"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism03"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism04"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism05"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism06"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java new file mode 100644 index 00000000..ee84e2b3 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/ZprodordconfStruOut.java @@ -0,0 +1,515 @@ +/** + * ZprodordconfStruOut.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp; + +public class ZprodordconfStruOut implements java.io.Serializable { + private java.lang.String aufnr; + + private java.lang.String vornr; + + private java.lang.String aueru; + + private java.math.BigDecimal lmnga; + + private java.math.BigDecimal ism01; + + private java.math.BigDecimal ism02; + + private java.math.BigDecimal ism03; + + private java.math.BigDecimal ism04; + + private java.math.BigDecimal ism05; + + private java.math.BigDecimal ism06; + + private java.lang.String ret; + + private java.lang.String msg; + + public ZprodordconfStruOut() { + } + + public ZprodordconfStruOut( + java.lang.String aufnr, + java.lang.String vornr, + java.lang.String aueru, + java.math.BigDecimal lmnga, + java.math.BigDecimal ism01, + java.math.BigDecimal ism02, + java.math.BigDecimal ism03, + java.math.BigDecimal ism04, + java.math.BigDecimal ism05, + java.math.BigDecimal ism06, + java.lang.String ret, + java.lang.String msg) { + this.aufnr = aufnr; + this.vornr = vornr; + this.aueru = aueru; + this.lmnga = lmnga; + this.ism01 = ism01; + this.ism02 = ism02; + this.ism03 = ism03; + this.ism04 = ism04; + this.ism05 = ism05; + this.ism06 = ism06; + this.ret = ret; + this.msg = msg; + } + + + /** + * Gets the aufnr value for this ZprodordconfStruOut. + * + * @return aufnr + */ + public java.lang.String getAufnr() { + return aufnr; + } + + + /** + * Sets the aufnr value for this ZprodordconfStruOut. + * + * @param aufnr + */ + public void setAufnr(java.lang.String aufnr) { + this.aufnr = aufnr; + } + + + /** + * Gets the vornr value for this ZprodordconfStruOut. + * + * @return vornr + */ + public java.lang.String getVornr() { + return vornr; + } + + + /** + * Sets the vornr value for this ZprodordconfStruOut. + * + * @param vornr + */ + public void setVornr(java.lang.String vornr) { + this.vornr = vornr; + } + + + /** + * Gets the aueru value for this ZprodordconfStruOut. + * + * @return aueru + */ + public java.lang.String getAueru() { + return aueru; + } + + + /** + * Sets the aueru value for this ZprodordconfStruOut. + * + * @param aueru + */ + public void setAueru(java.lang.String aueru) { + this.aueru = aueru; + } + + + /** + * Gets the lmnga value for this ZprodordconfStruOut. + * + * @return lmnga + */ + public java.math.BigDecimal getLmnga() { + return lmnga; + } + + + /** + * Sets the lmnga value for this ZprodordconfStruOut. + * + * @param lmnga + */ + public void setLmnga(java.math.BigDecimal lmnga) { + this.lmnga = lmnga; + } + + + /** + * Gets the ism01 value for this ZprodordconfStruOut. + * + * @return ism01 + */ + public java.math.BigDecimal getIsm01() { + return ism01; + } + + + /** + * Sets the ism01 value for this ZprodordconfStruOut. + * + * @param ism01 + */ + public void setIsm01(java.math.BigDecimal ism01) { + this.ism01 = ism01; + } + + + /** + * Gets the ism02 value for this ZprodordconfStruOut. + * + * @return ism02 + */ + public java.math.BigDecimal getIsm02() { + return ism02; + } + + + /** + * Sets the ism02 value for this ZprodordconfStruOut. + * + * @param ism02 + */ + public void setIsm02(java.math.BigDecimal ism02) { + this.ism02 = ism02; + } + + + /** + * Gets the ism03 value for this ZprodordconfStruOut. + * + * @return ism03 + */ + public java.math.BigDecimal getIsm03() { + return ism03; + } + + + /** + * Sets the ism03 value for this ZprodordconfStruOut. + * + * @param ism03 + */ + public void setIsm03(java.math.BigDecimal ism03) { + this.ism03 = ism03; + } + + + /** + * Gets the ism04 value for this ZprodordconfStruOut. + * + * @return ism04 + */ + public java.math.BigDecimal getIsm04() { + return ism04; + } + + + /** + * Sets the ism04 value for this ZprodordconfStruOut. + * + * @param ism04 + */ + public void setIsm04(java.math.BigDecimal ism04) { + this.ism04 = ism04; + } + + + /** + * Gets the ism05 value for this ZprodordconfStruOut. + * + * @return ism05 + */ + public java.math.BigDecimal getIsm05() { + return ism05; + } + + + /** + * Sets the ism05 value for this ZprodordconfStruOut. + * + * @param ism05 + */ + public void setIsm05(java.math.BigDecimal ism05) { + this.ism05 = ism05; + } + + + /** + * Gets the ism06 value for this ZprodordconfStruOut. + * + * @return ism06 + */ + public java.math.BigDecimal getIsm06() { + return ism06; + } + + + /** + * Sets the ism06 value for this ZprodordconfStruOut. + * + * @param ism06 + */ + public void setIsm06(java.math.BigDecimal ism06) { + this.ism06 = ism06; + } + + + /** + * Gets the ret value for this ZprodordconfStruOut. + * + * @return ret + */ + public java.lang.String getRet() { + return ret; + } + + + /** + * Sets the ret value for this ZprodordconfStruOut. + * + * @param ret + */ + public void setRet(java.lang.String ret) { + this.ret = ret; + } + + + /** + * Gets the msg value for this ZprodordconfStruOut. + * + * @return msg + */ + public java.lang.String getMsg() { + return msg; + } + + + /** + * Sets the msg value for this ZprodordconfStruOut. + * + * @param msg + */ + public void setMsg(java.lang.String msg) { + this.msg = msg; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof ZprodordconfStruOut)) return false; + ZprodordconfStruOut other = (ZprodordconfStruOut) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.aufnr==null && other.getAufnr()==null) || + (this.aufnr!=null && + this.aufnr.equals(other.getAufnr()))) && + ((this.vornr==null && other.getVornr()==null) || + (this.vornr!=null && + this.vornr.equals(other.getVornr()))) && + ((this.aueru==null && other.getAueru()==null) || + (this.aueru!=null && + this.aueru.equals(other.getAueru()))) && + ((this.lmnga==null && other.getLmnga()==null) || + (this.lmnga!=null && + this.lmnga.equals(other.getLmnga()))) && + ((this.ism01==null && other.getIsm01()==null) || + (this.ism01!=null && + this.ism01.equals(other.getIsm01()))) && + ((this.ism02==null && other.getIsm02()==null) || + (this.ism02!=null && + this.ism02.equals(other.getIsm02()))) && + ((this.ism03==null && other.getIsm03()==null) || + (this.ism03!=null && + this.ism03.equals(other.getIsm03()))) && + ((this.ism04==null && other.getIsm04()==null) || + (this.ism04!=null && + this.ism04.equals(other.getIsm04()))) && + ((this.ism05==null && other.getIsm05()==null) || + (this.ism05!=null && + this.ism05.equals(other.getIsm05()))) && + ((this.ism06==null && other.getIsm06()==null) || + (this.ism06!=null && + this.ism06.equals(other.getIsm06()))) && + ((this.ret==null && other.getRet()==null) || + (this.ret!=null && + this.ret.equals(other.getRet()))) && + ((this.msg==null && other.getMsg()==null) || + (this.msg!=null && + this.msg.equals(other.getMsg()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getAufnr() != null) { + _hashCode += getAufnr().hashCode(); + } + if (getVornr() != null) { + _hashCode += getVornr().hashCode(); + } + if (getAueru() != null) { + _hashCode += getAueru().hashCode(); + } + if (getLmnga() != null) { + _hashCode += getLmnga().hashCode(); + } + if (getIsm01() != null) { + _hashCode += getIsm01().hashCode(); + } + if (getIsm02() != null) { + _hashCode += getIsm02().hashCode(); + } + if (getIsm03() != null) { + _hashCode += getIsm03().hashCode(); + } + if (getIsm04() != null) { + _hashCode += getIsm04().hashCode(); + } + if (getIsm05() != null) { + _hashCode += getIsm05().hashCode(); + } + if (getIsm06() != null) { + _hashCode += getIsm06().hashCode(); + } + if (getRet() != null) { + _hashCode += getRet().hashCode(); + } + if (getMsg() != null) { + _hashCode += getMsg().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ZprodordconfStruOut.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "ZprodordconfStruOut")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aufnr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aufnr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("vornr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Vornr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("aueru"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Aueru")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lmnga"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Lmnga")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism01"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism01")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism02"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism02")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism03"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism03")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism04"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism04")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism05"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism05")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ism06"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ism06")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ret"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Ret")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("msg"); + elemField.setXmlName(new javax.xml.namespace.QName("", "Msg")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java new file mode 100644 index 00000000..7510a6a6 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/Zws_zmes_PRODORDCONF.java @@ -0,0 +1,12 @@ +/** + * Zws_zmes_PRODORDCONF.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp; + +public interface Zws_zmes_PRODORDCONF extends java.rmi.Remote { + public java.lang.String zmesProdordconf(com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruInHolder inItab, com.foreverwin.mesnac.common.erp.holders.TableOfZprodordconfStruOutHolder outItab) throws java.rmi.RemoteException; +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/document.wsdl b/common/src/main/java/com/foreverwin/mesnac/common/erp/document.wsdl new file mode 100644 index 00000000..84931cac --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/document.wsdl @@ -0,0 +1 @@ +falsefalsefalsetruenofalse \ No newline at end of file diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java new file mode 100644 index 00000000..bc8da227 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruInHolder.java @@ -0,0 +1,20 @@ +/** + * TableOfZprodordconfStruInHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp.holders; + +public final class TableOfZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[] value; + + public TableOfZprodordconfStruInHolder() { + } + + public TableOfZprodordconfStruInHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruIn[] value) { + this.value = value; + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java new file mode 100644 index 00000000..bef4251b --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/TableOfZprodordconfStruOutHolder.java @@ -0,0 +1,20 @@ +/** + * TableOfZprodordconfStruOutHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp.holders; + +public final class TableOfZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[] value; + + public TableOfZprodordconfStruOutHolder() { + } + + public TableOfZprodordconfStruOutHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruOut[] value) { + this.value = value; + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java new file mode 100644 index 00000000..bb3fdf9b --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruInHolder.java @@ -0,0 +1,20 @@ +/** + * ZprodordconfStruInHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp.holders; + +public final class ZprodordconfStruInHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.erp.ZprodordconfStruIn value; + + public ZprodordconfStruInHolder() { + } + + public ZprodordconfStruInHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruIn value) { + this.value = value; + } + +} diff --git a/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java new file mode 100644 index 00000000..7a528282 --- /dev/null +++ b/common/src/main/java/com/foreverwin/mesnac/common/erp/holders/ZprodordconfStruOutHolder.java @@ -0,0 +1,20 @@ +/** + * ZprodordconfStruOutHolder.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.foreverwin.mesnac.common.erp.holders; + +public final class ZprodordconfStruOutHolder implements javax.xml.rpc.holders.Holder { + public com.foreverwin.mesnac.common.erp.ZprodordconfStruOut value; + + public ZprodordconfStruOutHolder() { + } + + public ZprodordconfStruOutHolder(com.foreverwin.mesnac.common.erp.ZprodordconfStruOut value) { + this.value = value; + } + +}