OTRS GenericTicketConnectorSOAP.wsdl can't create port and service

对着背影说爱祢 提交于 2019-12-12 02:03:26

问题


I'm using jax-ws maven plugin for generate obiekt from GenericTicketConnectorSOAP.wsdl every object generated without GenericTicketConnectorSOAP, service and port. My pom.xml is wrong or this wsdl isn't prepare to generate service and port ?

Thanks for help.


回答1:


I cannot use wsdl to generate Java stub classes. I posted my solution here

BTW, the link to your pom does not work. Access denied.




回答2:


Thanks for your solution. I found other. When I'm using axistools-maven-plugin 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>

everything are generating by itself(port, service itp)



来源:https://stackoverflow.com/questions/28319442/otrs-genericticketconnectorsoap-wsdl-cant-create-port-and-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!