Java 部署的JAX-WS服务的默认url是什么

Java 部署的JAX-WS服务的默认url是什么,java,jetty,jax-ws,Java,Jetty,Jax Ws,我需要将基于JEE的web服务移植到plain spring/maven/JAX-WS/jetty。我收到现有的项目作为模板。它可以编译和部署,但我面临着一个愚蠢的问题:如何找到,服务部署在哪里 服务端点接口: @WebService(name = "myService") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.

我需要将基于JEE的web服务移植到plain spring/maven/JAX-WS/jetty。我收到现有的项目作为模板。它可以编译和部署,但我面临着一个愚蠢的问题:如何找到,服务部署在哪里

服务端点接口:

@WebService(name = "myService")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL,    parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface MyEndpoint {
实施:

@SchemaValidation
@WebService(endpointInterface = "package.MyEndpoint",
        portName = "MyServicePort", serviceName = "myService")
public class MyEndpointImpl implements MyEndpoint {
码头启动日志:

[INFO] --- maven-jetty-plugin:6.1.24:run (default-cli) @ MyBackend ---
[INFO] Configuring Jetty for project: MyBackend Maven Webapp
[INFO] Webapp source directory = D:\Dev\prototypy\MyBackend\src\main\webapp
[INFO] Reload Mechanic: automatic
[INFO]  jetty-env.xml = D:\Dev\prototypy\MyBackend\src\main\resources\jetty\jetty-env.xml
[INFO] Classes = D:\Dev\prototypy\MyBackend\target\classes
[INFO] Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
[INFO] Context path = /my-ws
[INFO] Tmp directory =  determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file = D:\Dev\prototypy\MyBackend\src\main\webapp\WEB-INF\web.xml
[INFO] Webapp directory = D:\Dev\prototypy\MyBackend\src\main\webapp
[INFO] Starting jetty 6.1.24 ...
[INFO] jetty-6.1.24
[INFO] No Transaction manager found - if your webapp requires one, please configure one.
[INFO] Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server
我尝试了所有的组合,但我总是收到404错误

http://localhost:8080/my-ws/myService
http://localhost:8080/my-ws/myEndpoint
http://localhost:8080/my-ws/MyEndpoint

如何查找已部署端点的默认URI?谢谢

我以为它会在wsdl中定义?我使用注释。要下载WSDL,我需要知道服务URL。您是否尝试过不使用“我的ws”,如localhost:8080/myserviceci,但实际上没有找到包含CXFServlet和contextConfigLocation定义的web.xml。那我该怎么办就很清楚了。