-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInterfaces.lddl
More file actions
39 lines (32 loc) · 946 Bytes
/
Interfaces.lddl
File metadata and controls
39 lines (32 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* LAPPS only uses two interface definitions; one interface for data sources
* and another for web services. The WSDL files should be in the same directory
* as this script.
*/
include 'Common'
include 'Database'
def wsdlWebService='WebService.wsdl'
def wsdlDataSource='Datasource.wsdl'
//import static groovy.io.FileType.FILES
//new File('.').eachFileRecurse(FILES) {
// if(it.name.endsWith(wsdlWebService))
// wsdlWebService = it.getAbsolutePath()
//
// if(it.name.endsWith(wsdlDataSource))
// wsdlDataSource = it.getAbsolutePath()
//}
serviceInterfaceDefinition {
name 'LAPPS DataSource'
domain DOMAIN
type DATASOURCE
protocol 'SOAP_RPC_ENCODED'
url "file:${wsdlDataSource}"
}
serviceInterfaceDefinition {
name 'LAPPS Web Service'
domain DOMAIN
type SERVICE
protocol 'SOAP_RPC_ENCODED'
url "file:${wsdlWebService}"
}
news 'Added interface definitions for LAPPS web services and data sources.'