I need to consume a web service in my project. I use NetBeans so I right-clicked on my project and tried to add a new \"Web Service Client\". Last time I checked, this was t
If you are getting this problem when converting wsdl to jave with the cxf-codegen-plugin, then you can solve it by configuring the plugin to fork and provide the additional "-Djavax.xml.accessExternalSchema=all" JVM option.
org.apache.cxf
cxf-codegen-plugin
${cxf.version}
generate-sources
generate-sources
always
-Djavax.xml.accessExternalSchema=all