maven-jaxb2-plugin
配置如下:
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.13.1</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<schemaLanguage>WSDL</schemaLanguage>
<generatePackage>com.zhuzher.client</generatePackage>
<generateDirectory>${basedir}/src/main/java/</generateDirectory>
<forceRegenerate>false</forceRegenerate>
<removeOldOutput>false</removeOldOutput>
<strict>true</strict>
<verbose>true</verbose>
<readOnly>true</readOnly>
<episode>true</episode>
<schemas>
<schema>
<url>http://58.83.157.102:8000/kws_train/SecurityService.asmx?wsdl</url>
</schema>
<schema>
<url>http://58.83.157.102:8000/kws_train/AvailabilityService.asmx?wsdl</url>
</schema>
<schema>
<url>http://58.83.157.102:8000/kws_train/ReservationService.asmx?wsdl</url>
</schema>
<schema>
<url>http://58.83.157.102:8000/kws_train/ProfileService.asmx?wsdl</url>
</schema>
<schema>
<url>http://58.83.157.102:8000/kws_train/InformationService.asmx?wsdl</url>
</schema>
</schemas>
</configuration>
</plugin>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题已经解决