I am getting the below exception when generating pojos from WSDL.
External DTD: Failed to read external DTD 'XMLSchema.dtd', because 'http' access is not allowed due to restriction set by the accessExternalDTD property.
I found solution in [WebService Client Generation Error with JDK8
[1]: WebService Client Generation Error with JDK8 where someone has mentioned to add below jvm argument.
-Djavax.xml.accessExternalSchema=all
How do I add this argument in jvm 1.8(fyi I am using macos) or run wsimport with above jvm argument?