【发布时间】:2015-02-19 23:03:25
【问题描述】:
我正在尝试创建一个独立于任何其他应用程序服务器的 Web 服务或 Tomcat,它适用于 http,但使用 https 我得到以下错误。似乎所有文档都与客户端示例或应用程序服务器示例有关。 一个好的教程的链接会很棒。
谢谢!
Exception in thread "main" java.lang.IllegalArgumentException: https protocol based address is not supported
at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:149)
at com.sun.xml.internal.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:107)
at javax.xml.ws.Endpoint.publish(Endpoint.java:181)
【问题讨论】:
标签: java web-services https