From 49265f3098deb87070d1f93588f96b715f72fdcb Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期六, 16 八月 2025 09:34:55 +0800 Subject: [PATCH] art: 增加 MESObjectFactory 类 --- /dev/null | 2 -- src/main/java/org/jeecg/modules/wms/service/MESWebServiceSoap.java | 4 +++- src/main/java/org/jeecg/modules/wms/MESObjectFactory.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/jeecg/modules/wms/MESObjectFactory.java b/src/main/java/org/jeecg/modules/wms/MESObjectFactory.java new file mode 100644 index 0000000..5edef44 --- /dev/null +++ b/src/main/java/org/jeecg/modules/wms/MESObjectFactory.java @@ -0,0 +1,51 @@ +package org.jeecg.modules.wms; + +import org.jeecg.modules.wms.dto.ReceiveWMSScanItemListResponse; +import org.jeecg.modules.wms.dto.WSResponse; +import org.jeecg.modules.wms.request.ArrayOfWebServiceSendItem; +import org.jeecg.modules.wms.request.ReceiveWMSScanItemList; + +import javax.xml.bind.annotation.XmlRegistry; + +@XmlRegistry +public class MESObjectFactory { + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.tempuri + * + */ + public MESObjectFactory() { + } + + /** + * Create an instance of {@link ReceiveWMSScanItemList } + * + */ + public ReceiveWMSScanItemList createReceiveWMSScanItemList() { + return new ReceiveWMSScanItemList(); + } + + /** + * Create an instance of {@link ArrayOfWebServiceSendItem } + * + */ + public ArrayOfWebServiceSendItem createArrayOfWebServiceSendItem() { + return new ArrayOfWebServiceSendItem(); + } + + /** + * Create an instance of {@link ReceiveWMSScanItemListResponse } + * + */ + public ReceiveWMSScanItemListResponse createReceiveWMSScanItemListResponse() { + return new ReceiveWMSScanItemListResponse(); + } + + /** + * Create an instance of {@link WSResponse } + * + */ + public WSResponse createWSResponse() { + return new WSResponse(); + } + +} diff --git a/src/main/java/org/jeecg/modules/wms/package-info.java b/src/main/java/org/jeecg/modules/wms/package-info.java deleted file mode 100644 index 0dfca4b..0000000 --- a/src/main/java/org/jeecg/modules/wms/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "http://tempuri.org/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package org.jeecg.modules.wms; diff --git a/src/main/java/org/jeecg/modules/wms/service/MESWebServiceSoap.java b/src/main/java/org/jeecg/modules/wms/service/MESWebServiceSoap.java index 0af3655..80bbc38 100644 --- a/src/main/java/org/jeecg/modules/wms/service/MESWebServiceSoap.java +++ b/src/main/java/org/jeecg/modules/wms/service/MESWebServiceSoap.java @@ -1,17 +1,19 @@ package org.jeecg.modules.wms.service; +import org.jeecg.modules.wms.MESObjectFactory; import org.jeecg.modules.wms.dto.WSResponse; -import org.jeecg.modules.wms.request.ReceiveMESScanItemList; import org.jeecg.modules.wms.request.ReceiveWMSScanItemList; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; +import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; @WebService(name = "MESWebServiceSoap", targetNamespace = "http://xhj008.server.webservice.com/") +@XmlSeeAlso({MESObjectFactory.class}) public interface MESWebServiceSoap { /** * 鎺ユ敹WMS绉诲簱淇℃伅 -- Gitblit v1.9.3