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
e77030b9
Commit
e77030b9
authored
Jul 09, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
862e75fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
0 deletions
+48
-0
WsConfig.java
src/main/java/com/egolm/sso/config/WsConfig.java
+9
-0
ProFormaInvoiceService.java
...in/java/com/egolm/sso/service/ProFormaInvoiceService.java
+12
-0
ProFormaInvoiceServiceImpl.java
...om/egolm/sso/service/impl/ProFormaInvoiceServiceImpl.java
+27
-0
No files found.
src/main/java/com/egolm/sso/config/WsConfig.java
View file @
e77030b9
...
...
@@ -21,6 +21,7 @@ import org.springframework.context.annotation.Configuration;
import
com.egolm.sso.service.MaterialMasterService
;
import
com.egolm.sso.service.PriceListService
;
import
com.egolm.sso.service.ProFormaInvoiceService
;
@Configuration
...
...
@@ -47,6 +48,14 @@ public class WsConfig {
endpoint
.
publish
(
"/price_list"
);
return
endpoint
;
}
@Bean
public
Endpoint
getProFormaInvoicePoint
(
ProFormaInvoiceService
priceListService
)
{
EndpointImpl
endpoint
=
new
EndpointImpl
(
bus
,
priceListService
);
endpoint
.
setInInterceptors
(
Arrays
.
asList
(
authInterceptor
));
endpoint
.
publish
(
"/pro_forma_invoice"
);
return
endpoint
;
}
@Value
(
"${wsUsername}"
)
private
String
wsUername
;
...
...
src/main/java/com/egolm/sso/service/ProFormaInvoiceService.java
0 → 100644
View file @
e77030b9
package
com
.
egolm
.
sso
.
service
;
import
javax.jws.WebMethod
;
import
javax.jws.WebService
;
@WebService
(
targetNamespace
=
"http://pro_forma_invoice.sso.egolm.com"
)
public
interface
ProFormaInvoiceService
{
@WebMethod
public
void
execute
(
String
xml
);
}
src/main/java/com/egolm/sso/service/impl/ProFormaInvoiceServiceImpl.java
0 → 100644
View file @
e77030b9
package
com
.
egolm
.
sso
.
service
.
impl
;
import
javax.jws.WebService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.jdbc.core.JdbcTemplate
;
import
org.springframework.stereotype.Component
;
import
com.egolm.sso.service.CommonService
;
import
com.egolm.sso.service.ProFormaInvoiceService
;
@Component
@WebService
(
serviceName
=
"ProFormaInvoiceService"
,
targetNamespace
=
"http://pro_forma_invoice.sso.egolm.com"
,
endpointInterface
=
"com.egolm.sso.service.ProFormaInvoiceService"
)
public
class
ProFormaInvoiceServiceImpl
implements
ProFormaInvoiceService
{
@Autowired
JdbcTemplate
jdbcTemplate
;
@Autowired
CommonService
common
;
@Override
public
void
execute
(
String
xml
)
{
}
}
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