Adding a comment to help others avoid a mistake

I think "hello.wsdl" sounds too much like a file name and not a package.  My colleague changed one and not the other and didn't see the problem.  I think this comment would help.
This commit is contained in:
KC Baltz
2016-12-19 14:28:19 -08:00
committed by Dave Syer
parent c1060bbb5a
commit 62359bb948

View File

@@ -11,6 +11,7 @@ public class WeatherConfiguration {
@Bean
public Jaxb2Marshaller marshaller() {
Jaxb2Marshaller marshaller = new Jaxb2Marshaller();
// this package must match the package in the <generatePackage> specified in pom.xml
marshaller.setContextPath("hello.wsdl");
return marshaller;
}