I'm developing an application in Java using vaadin, JPA, maven and JAX-WS technologies.
When I publish the application in the glassfish server I can see the generated wsdl using this url:
http://localhost:8080/at/PrimaryTransmissionService?wsdl
When I publish the application in the wildfly server I can see the generated wsdl using this url:
http://localhost:8080/at-1.0/PrimaryTransmission?wsdl
When I publish the application in the jetty server I can't find to which endpoint is deployed, but I can use the webapp by using this url: http://localhost:8080/at Could you help me?
答案 0 :(得分:3)
如果您通过Java EE API依赖关系使用JPA和JAX-WS依赖于Glassfish / Wildfly捆绑的实现,它们是符合Java EE的应用程序容器,可以解释观察结果。这是因为Jetty不是Java EE容器,并且不包含实现,例如对于开箱即用的JAX-WS。