...
If we use the schemaLocation with DEV url and not running Tomcat locally, this test is going to fail, because
it because it won't be able to find the schema, such as electronicInvoice.xsd, unless Tomcat is running locally.
Therefore, for unit test purpose, let's set the schemaLocation to kfs-uat url.
'kfs-uat' is using "https", then there is SSL cert issue needs to be resolved. You may see following exception :
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
You can google this exception to find resolution. Following is the one I used to resolve this exception: