Commit f5e294af authored by Quxl's avatar Quxl

x

parent 3b89959a
package com.egolm.sso.services.dn_deletion;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DELETED_DOCUMENTS")
@XmlRootElement(name = "DELETED_DOCUMENTS")
public class DELETED_DOCUMENTS {
String TARGET_SYSTEM;
String DOCTYPE;
String DOCNUMBER;
String SALES_ORG;
public String getTARGET_SYSTEM() {
return TARGET_SYSTEM;
}
public void setTARGET_SYSTEM(String tARGET_SYSTEM) {
TARGET_SYSTEM = tARGET_SYSTEM;
}
public String getDOCTYPE() {
return DOCTYPE;
}
public void setDOCTYPE(String dOCTYPE) {
DOCTYPE = dOCTYPE;
}
public String getDOCNUMBER() {
return DOCNUMBER;
}
public void setDOCNUMBER(String dOCNUMBER) {
DOCNUMBER = dOCNUMBER;
}
public String getSALES_ORG() {
return SALES_ORG;
}
public void setSALES_ORG(String sALES_ORG) {
SALES_ORG = sALES_ORG;
}
}
\ No newline at end of file
...@@ -7,6 +7,6 @@ import javax.jws.WebService; ...@@ -7,6 +7,6 @@ import javax.jws.WebService;
public interface DNDeletionService { public interface DNDeletionService {
@WebMethod @WebMethod
public void execute(Z_MT_SD_010_SO_DN_DELETION Z_MT_SD_010_SO_DN_DELETION); public void execute(DELETED_DOCUMENTS DELETED_DOCUMENTS);
} }
...@@ -11,7 +11,7 @@ public class DNDeletionServiceImpl implements DNDeletionService { ...@@ -11,7 +11,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
@Override @Override
@Transactional @Transactional
public void execute(Z_MT_SD_010_SO_DN_DELETION Z_MT_SD_010_SO_DN_DELETION) { public void execute(DELETED_DOCUMENTS DELETED_DOCUMENTS) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
} }
......
package com.egolm.sso.services.dn_deletion;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Z_MT_SD_010_SO_DN_DELETION")
@XmlRootElement(name="Z_MT_SD_010_SO_DN_DELETION")
public class Z_MT_SD_010_SO_DN_DELETION {
}
\ No newline at end of file
package test; package test;
import com.egolm.sso.services.dn_deletion.DELETED_DOCUMENTS;
import com.egolm.sso.services.dn_deletion.DNDeletionService; import com.egolm.sso.services.dn_deletion.DNDeletionService;
import com.egolm.sso.services.dn_deletion.Z_MT_SD_010_SO_DN_DELETION;
import com.egolm.sso.util.ServiceFactory; import com.egolm.sso.util.ServiceFactory;
import com.egolm.sso.util.StringUtil; import com.egolm.sso.util.StringUtil;
import com.egolm.sso.util.XMLUtil; import com.egolm.sso.util.XMLUtil;
...@@ -14,8 +14,8 @@ public class DeletionServiceTest { ...@@ -14,8 +14,8 @@ public class DeletionServiceTest {
String serviceName = "DNDeletionService"; String serviceName = "DNDeletionService";
DNDeletionService service = ServiceFactory.create(wsdlLocation, namespace, serviceName, DNDeletionService.class); DNDeletionService service = ServiceFactory.create(wsdlLocation, namespace, serviceName, DNDeletionService.class);
String XML = StringUtil.readText("D:/data/sso/010.XML"); String XML = StringUtil.readText("D:/data/sso/010.XML");
Z_MT_SD_010_SO_DN_DELETION Z_MT_SD_010_SO_DN_DELETION = XMLUtil.toBeanByJxab(XML, Z_MT_SD_010_SO_DN_DELETION.class); DELETED_DOCUMENTS DELETED_DOCUMENTS = XMLUtil.toBeanByJxab(XML, DELETED_DOCUMENTS.class);
service.execute(Z_MT_SD_010_SO_DN_DELETION); service.execute(DELETED_DOCUMENTS);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment