Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sso
Commits
f5e294af
Commit
f5e294af
authored
Jul 16, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
3b89959a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
18 deletions
+55
-18
DELETED_DOCUMENTS.java
...com/egolm/sso/services/dn_deletion/DELETED_DOCUMENTS.java
+50
-0
DNDeletionService.java
...com/egolm/sso/services/dn_deletion/DNDeletionService.java
+1
-1
DNDeletionServiceImpl.java
...egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
+1
-1
Z_MT_SD_010_SO_DN_DELETION.java
.../sso/services/dn_deletion/Z_MT_SD_010_SO_DN_DELETION.java
+0
-13
DeletionServiceTest.java
src/test/java/test/DeletionServiceTest.java
+3
-3
No files found.
src/main/java/com/egolm/sso/services/dn_deletion/DELETED_DOCUMENTS.java
0 → 100644
View file @
f5e294af
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
src/main/java/com/egolm/sso/services/dn_deletion/DNDeletionService.java
View file @
f5e294af
...
@@ -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
);
}
}
src/main/java/com/egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
View file @
f5e294af
...
@@ -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
}
}
...
...
src/main/java/com/egolm/sso/services/dn_deletion/Z_MT_SD_010_SO_DN_DELETION.java
deleted
100644 → 0
View file @
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
=
"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
src/test/java/test/DeletionServiceTest.java
View file @
f5e294af
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
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment