Hye,我正在为我的网络服务使用 jax-ws。Web服务的类如下
@WebService(
portName = "GuidStatusPort",
serviceName = "GuidStatusService",
targetNamespace = "http://url/wsdl",
endpointInterface = "com.smartap.ws.GuidStatusWs",
wsdlLocation="https://myurl/guidstatus")
public class GuidStatus implements GuidStatusWs{
...................
部署后,wsdl 文件显示 schemaLocation 如下
... namespace="http://smartapws.org/wsdl" schemaLocation="http://myurl:80/guidstatus?xsd=1" ...
如何从我的 java 类中设置 schemaLocation?
谢谢