我正在使用 jax-ws maven 插件从GenericTicketConnectorSOAP.wsdl生成 obiekt 生成的每个对象都没有 GenericTicketConnectorSOAP、服务和端口。我的pom.xml 错误或者这个 wsdl 不准备生成服务和端口?
感谢帮助。
我不能使用 wsdl 生成 Java 存根类。我在这里发布了我的解决方案
顺便说一句,指向您的 pom 的链接不起作用。拒绝访问。
感谢您的解决方案。我找到了其他的。当我使用axistools-maven-plugin
插件时
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>axistools-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
<configuration>
<urls>
<url>file:/${project.basedir}/otrs/Service.wsdl</url>
</urls>
<packageSpace>my.package</packageSpace>
<testCases>false</testCases>
<serverSide>false</serverSide>
</configuration>
</plugin>
一切都是自己生成的(端口,服务 itp)