Package edu.suffolk.litlab.efsp.utils
Class XsdDownloader
java.lang.Object
edu.suffolk.litlab.efsp.utils.XsdDownloader
Downloads the various EFM SOAP wsdl service files, like FilingReviewMDE. Without this, we have to
point at some external location (a URL for ECF 4, and some dump of files that Tyler gives us for
ECF 5), and everytime we start a MDE Service, it takes ~60 seconds to download all of the other
XSD files associated with it. That's fairly instant when this is downloaded. For ECF 5, that dump
of XSD files that Tyler gives us has relative paths to the other files, but using Window's paths.
We also use this to correct those paths automatically. Slightly modified to handle relative paths
on the server. Runs like:
```mvn exec:java@XsdDownloader -Dexec.args="https://example.tylertech.cloud/EFM/Schema/ECF-4.0-FilingReviewMDEService.wsdl ecf" ```
Then move all of the ecf files into src/main/resources/wsdl/, and point the FilingReviewMDE URL to it. Based off of an original Github project here
- Author:
- https://github.com/pablod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdocumentToString(Document document) static voidMain method, pass in the URL to find the WSDL, and the xsd prefix that everything is changed to.
-
Constructor Details
-
XsdDownloader
-
-
Method Details
-
documentToString
- Throws:
TransformerException
-
main
Main method, pass in the URL to find the WSDL, and the xsd prefix that everything is changed to.
-