diff --git a/complete/src/main/java/hello/WeatherConfiguration.java b/complete/src/main/java/hello/WeatherConfiguration.java index f363486..6e30b9a 100644 --- a/complete/src/main/java/hello/WeatherConfiguration.java +++ b/complete/src/main/java/hello/WeatherConfiguration.java @@ -11,6 +11,7 @@ public class WeatherConfiguration { @Bean public Jaxb2Marshaller marshaller() { Jaxb2Marshaller marshaller = new Jaxb2Marshaller(); + // this package must match the package in the specified in pom.xml marshaller.setContextPath("hello.wsdl"); return marshaller; }