You need to sign in to do that
Don't have an account?
EclipseTalk
wsdlLocation cannot be set
Hello,
I'm using the sample code for JAX-WB. I've defined an Eclipse Java project. Everything compiles fine but I can't get the URL wsdl location. It always returns null although the entreprise file is present.
Does anyone know why this line of code doesn't work...
URL wsdlLocation = this.getClass().getClassLoader().getResource("META-INF/enterprise.wsdl");
Thank you for your help.
All Answers
fyi - I finally fixed it. I had to add the directory to the classpath in the Eclipse run configuration.
Thanks