Skip to content

Commit bb2fc57

Browse files
Ecfv5 Generated Files (#338)
Way too big to really review, but it's not executing any code yet. All it's doing is: * making it so that the Xsd Downloader can handle ECFv5 XML files (different named files could have the same schema contents, can't have duplicate schemas, so we have to hash the contents of the file when downloading them) * Add a bunch of stuff to the `redo_wsdl.py` file to closer match what we're doing when downloading XML / generating Java * not perfect yet, as there's still a lot of manual java namespace re-naming that we have to do that isn't supported by `wsdl2java`. Ideally, this will be baked into the python at some point (see #337) * Make the shell / abstraction layers for handling multiple versions of the ECF5 schema at the same time, based on the TylerEFM package * Not adding to ECF4 because we're trying to move away from it, and any time adding it there should be spent just making the move to ECF5. Will make this PR, self review, and merge. Nothing to really fail or run yet, won't be until some other ECF 5 code starts coming in, which it can do soon
1 parent 0e9d54d commit bb2fc57

2,287 files changed

Lines changed: 463598 additions & 70 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LABEL git-commit=$CI_COMMIT_SHA
66
COPY pom.xml /app/
77
COPY EfspCommons /app/EfspCommons/
88
COPY TylerEcf4 /app/TylerEcf4/
9+
COPY TylerEcf5 /app/TylerEcf5/
910
COPY TylerEfmClient /app/TylerEfmClient/
1011
COPY proxyserver/pom.xml proxyserver/enunciate.xml /app/proxyserver/
1112
# Install all of the maven packages, so we don't have to every time we change code

TylerEcf5/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Tyler ECF 5 Java Code
2+
3+
This module contains java code [generated by `wsdl2java`](../docs/wsdl2java.md) from the
4+
[Electronic Court Filing v5 standard](https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.0/ecf-v5.0.html)
5+
WSDL and XML schema files.
6+
7+
This module contains interfaces and implementations of some Major Design Elements (MDEs) from ECF 5:
8+
9+
* Court Record MDE
10+
* Filing Assembly MDE, for this server to receive notifications from the court regarding filings.
11+
* [Filing Assembly MDE](src/main/java/https/docs_oasis_open_org/legalxml_courtfiling/ns/v5_0/wsdl/filingassemblymde/FilingAssemblyMDE.java) for actually creating filings into cases in a court.
12+
* Service MDE for serving notices to other parties in your case electronically.
13+
* [Court Scheduling MDE](src/main/java/https/docs_oasis_open_org/legalxml_courtfiling/ns/v5_0/wsdl/courtschedulingmde/CourtSchedulingMDE_Service.java)
14+
15+
All other files include the data types that are passed to the interfaces present on these MDEs.
16+
17+
## Difference between this and generated code
18+
19+
* edited javadocs to be able to be compliant (i.e. `&` to `&`, other HTML encoding issues). No substantive changes.

TylerEcf5/pom.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<parent>
6+
<groupId>edu.suffolk.litlab</groupId>
7+
<artifactId>efspserver-parent</artifactId>
8+
<version>1.2.23</version>
9+
</parent>
10+
<groupId>edu.suffolk.litlab</groupId>
11+
<artifactId>tyler-ecf5</artifactId>
12+
<name>Tyler ECF 5</name>
13+
<description>Generated Java files for Tyler Technologies's ECF 5 Schemas</description>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>edu.suffolk.litlab</groupId>
18+
<artifactId>tyler-efm-client</artifactId>
19+
</dependency>
20+
<dependency>
21+
<groupId>org.apache.commons</groupId>
22+
<artifactId>commons-lang3</artifactId>
23+
</dependency>
24+
<dependency>
25+
<groupId>jakarta.xml.bind</groupId>
26+
<artifactId>jakarta.xml.bind-api</artifactId>
27+
</dependency>
28+
<dependency>
29+
<groupId>jakarta.jws</groupId>
30+
<artifactId>jakarta.jws-api</artifactId>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.apache.cxf.xjc-utils</groupId>
34+
<artifactId>cxf-xjc-runtime</artifactId>
35+
</dependency>
36+
</dependencies>
37+
</project>
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
package ecf5;
2+
3+
import jakarta.xml.ws.Service;
4+
import jakarta.xml.ws.WebEndpoint;
5+
import jakarta.xml.ws.WebServiceClient;
6+
import jakarta.xml.ws.WebServiceFeature;
7+
import java.net.MalformedURLException;
8+
import java.net.URI;
9+
import java.net.URL;
10+
import javax.xml.namespace.QName;
11+
12+
/**
13+
* This class was generated by Apache CXF 4.0.8 2025-11-05T15:12:41.425-05:00 Generated source
14+
* version: 4.0.8
15+
*/
16+
@WebServiceClient(
17+
name = "CourtPolicyMDEService",
18+
wsdlLocation = "file:../stage/illinois-ECF5-CourtPolicyMDEService.wsdl",
19+
targetNamespace = "https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtPolicyMDE")
20+
public class CourtPolicyMDEService extends Service {
21+
22+
public static final URL WSDL_LOCATION;
23+
24+
public static final QName SERVICE =
25+
new QName(
26+
"https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtPolicyMDE",
27+
"CourtPolicyMDEService");
28+
public static final QName CourtPolicyMDE =
29+
new QName(
30+
"https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtPolicyMDE",
31+
"CourtPolicyMDE");
32+
33+
static {
34+
URL url = null;
35+
try {
36+
url = URI.create("file:../stage/illinois-ECF5-CourtPolicyMDEService.wsdl").toURL();
37+
} catch (MalformedURLException e) {
38+
java.util.logging.Logger.getLogger(CourtPolicyMDEService.class.getName())
39+
.log(
40+
java.util.logging.Level.INFO,
41+
"Can not initialize the default wsdl from {0}",
42+
"file:../stage/illinois-ECF5-CourtPolicyMDEService.wsdl");
43+
}
44+
WSDL_LOCATION = url;
45+
}
46+
47+
public CourtPolicyMDEService(URL wsdlLocation) {
48+
super(wsdlLocation, SERVICE);
49+
}
50+
51+
public CourtPolicyMDEService(URL wsdlLocation, QName serviceName) {
52+
super(wsdlLocation, serviceName);
53+
}
54+
55+
public CourtPolicyMDEService() {
56+
super(WSDL_LOCATION, SERVICE);
57+
}
58+
59+
public CourtPolicyMDEService(WebServiceFeature... features) {
60+
super(WSDL_LOCATION, SERVICE, features);
61+
}
62+
63+
public CourtPolicyMDEService(URL wsdlLocation, WebServiceFeature... features) {
64+
super(wsdlLocation, SERVICE, features);
65+
}
66+
67+
public CourtPolicyMDEService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
68+
super(wsdlLocation, serviceName, features);
69+
}
70+
71+
/**
72+
* @return returns CourtPolicyMDE
73+
*/
74+
@WebEndpoint(name = "CourtPolicyMDE")
75+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtpolicymde
76+
.CourtPolicyMDE
77+
getCourtPolicyMDE() {
78+
return super.getPort(
79+
CourtPolicyMDE,
80+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtpolicymde
81+
.CourtPolicyMDE.class);
82+
}
83+
84+
/**
85+
* @param features A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.
86+
* Supported features not in the <code>features</code> parameter will have their default
87+
* values.
88+
* @return returns CourtPolicyMDE
89+
*/
90+
@WebEndpoint(name = "CourtPolicyMDE")
91+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtpolicymde
92+
.CourtPolicyMDE
93+
getCourtPolicyMDE(WebServiceFeature... features) {
94+
return super.getPort(
95+
CourtPolicyMDE,
96+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtpolicymde
97+
.CourtPolicyMDE.class,
98+
features);
99+
}
100+
}
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
package ecf5;
2+
3+
import ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtrecordmde.CourtRecordMDE;
4+
import jakarta.xml.ws.Service;
5+
import jakarta.xml.ws.WebEndpoint;
6+
import jakarta.xml.ws.WebServiceClient;
7+
import jakarta.xml.ws.WebServiceFeature;
8+
import java.net.MalformedURLException;
9+
import java.net.URI;
10+
import java.net.URL;
11+
import javax.xml.namespace.QName;
12+
13+
/**
14+
* This class was generated by Apache CXF 4.0.8 2025-11-05T15:23:26.656-05:00 Generated source
15+
* version: 4.0.8
16+
*/
17+
@WebServiceClient(
18+
name = "CourtRecordMDEService",
19+
wsdlLocation = "file:../stage/illinois-ECF5-CourtRecordMDEService.wsdl",
20+
targetNamespace = "https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtRecordMDE")
21+
public class CourtRecordMDEService extends Service {
22+
23+
public static final URL WSDL_LOCATION;
24+
25+
public static final QName SERVICE =
26+
new QName(
27+
"https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtRecordMDE",
28+
"CourtRecordMDEService");
29+
public static final QName CourtRecordMDE =
30+
new QName(
31+
"https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtRecordMDE",
32+
"CourtRecordMDE");
33+
34+
static {
35+
URL url = null;
36+
try {
37+
url = URI.create("file:../stage/illinois-ECF5-CourtRecordMDEService.wsdl").toURL();
38+
} catch (MalformedURLException e) {
39+
java.util.logging.Logger.getLogger(CourtRecordMDEService.class.getName())
40+
.log(
41+
java.util.logging.Level.INFO,
42+
"Can not initialize the default wsdl from {0}",
43+
"file:../stage/illinois-ECF5-CourtRecordMDEService.wsdl");
44+
}
45+
WSDL_LOCATION = url;
46+
}
47+
48+
public CourtRecordMDEService(URL wsdlLocation) {
49+
super(wsdlLocation, SERVICE);
50+
}
51+
52+
public CourtRecordMDEService(URL wsdlLocation, QName serviceName) {
53+
super(wsdlLocation, serviceName);
54+
}
55+
56+
public CourtRecordMDEService() {
57+
super(WSDL_LOCATION, SERVICE);
58+
}
59+
60+
public CourtRecordMDEService(WebServiceFeature... features) {
61+
super(WSDL_LOCATION, SERVICE, features);
62+
}
63+
64+
public CourtRecordMDEService(URL wsdlLocation, WebServiceFeature... features) {
65+
super(wsdlLocation, SERVICE, features);
66+
}
67+
68+
public CourtRecordMDEService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
69+
super(wsdlLocation, serviceName, features);
70+
}
71+
72+
/**
73+
* @return returns CourtRecordMDE
74+
*/
75+
@WebEndpoint(name = "CourtRecordMDE")
76+
public CourtRecordMDE getCourtRecordMDE() {
77+
return super.getPort(CourtRecordMDE, CourtRecordMDE.class);
78+
}
79+
80+
/**
81+
* @param features A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.
82+
* Supported features not in the <code>features</code> parameter will have their default
83+
* values.
84+
* @return returns CourtRecordMDE
85+
*/
86+
@WebEndpoint(name = "CourtRecordMDE")
87+
public CourtRecordMDE getCourtRecordMDE(WebServiceFeature... features) {
88+
return super.getPort(CourtRecordMDE, CourtRecordMDE.class, features);
89+
}
90+
}
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
package ecf5;
2+
3+
import ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtschedulingmde.CourtSchedulingMDE;
4+
import jakarta.xml.ws.Service;
5+
import jakarta.xml.ws.WebEndpoint;
6+
import jakarta.xml.ws.WebServiceClient;
7+
import jakarta.xml.ws.WebServiceFeature;
8+
import java.net.MalformedURLException;
9+
import java.net.URI;
10+
import java.net.URL;
11+
import javax.xml.namespace.QName;
12+
13+
/**
14+
* This class was generated by Apache CXF 4.0.8 2025-11-05T15:39:12.512-05:00 Generated source
15+
* version: 4.0.8
16+
*/
17+
@WebServiceClient(
18+
name = "CourtSchedulingMDEService",
19+
wsdlLocation = "file:../stage/illinois-ECF5-CourtSchedulingMDEService.wsdl",
20+
targetNamespace =
21+
"https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtSchedulingMDE")
22+
public class CourtSchedulingMDEService extends Service {
23+
24+
public static final URL WSDL_LOCATION;
25+
26+
public static final QName SERVICE =
27+
new QName(
28+
"https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtSchedulingMDE",
29+
"CourtSchedulingMDEService");
30+
public static final QName CourtSchedulingMDE =
31+
new QName(
32+
"https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0WSDL/CourtSchedulingMDE",
33+
"CourtSchedulingMDE");
34+
35+
static {
36+
URL url = null;
37+
try {
38+
url = URI.create("file:../stage/illinois-ECF5-CourtSchedulingMDEService.wsdl").toURL();
39+
} catch (MalformedURLException e) {
40+
java.util.logging.Logger.getLogger(CourtSchedulingMDEService.class.getName())
41+
.log(
42+
java.util.logging.Level.INFO,
43+
"Can not initialize the default wsdl from {0}",
44+
"file:../stage/illinois-ECF5-CourtSchedulingMDEService.wsdl");
45+
}
46+
WSDL_LOCATION = url;
47+
}
48+
49+
public CourtSchedulingMDEService(URL wsdlLocation) {
50+
super(wsdlLocation, SERVICE);
51+
}
52+
53+
public CourtSchedulingMDEService(URL wsdlLocation, QName serviceName) {
54+
super(wsdlLocation, serviceName);
55+
}
56+
57+
public CourtSchedulingMDEService() {
58+
super(WSDL_LOCATION, SERVICE);
59+
}
60+
61+
public CourtSchedulingMDEService(WebServiceFeature... features) {
62+
super(WSDL_LOCATION, SERVICE, features);
63+
}
64+
65+
public CourtSchedulingMDEService(URL wsdlLocation, WebServiceFeature... features) {
66+
super(wsdlLocation, SERVICE, features);
67+
}
68+
69+
public CourtSchedulingMDEService(
70+
URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
71+
super(wsdlLocation, serviceName, features);
72+
}
73+
74+
/**
75+
* @return returns CourtSchedulingMDE
76+
*/
77+
@WebEndpoint(name = "CourtSchedulingMDE")
78+
public CourtSchedulingMDE getCourtSchedulingMDE() {
79+
return super.getPort(CourtSchedulingMDE, CourtSchedulingMDE.class);
80+
}
81+
82+
/**
83+
* @param features A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.
84+
* Supported features not in the <code>features</code> parameter will have their default
85+
* values.
86+
* @return returns CourtSchedulingMDE
87+
*/
88+
@WebEndpoint(name = "CourtSchedulingMDE")
89+
public CourtSchedulingMDE getCourtSchedulingMDE(WebServiceFeature... features) {
90+
return super.getPort(CourtSchedulingMDE, CourtSchedulingMDE.class, features);
91+
}
92+
}

0 commit comments

Comments
 (0)