简体   繁体   English

wsdl Url中“.wsdl”和“?wsdl”之间的区别

[英]Difference between “.wsdl”and “?wsdl” in wsdl Url

I have a jax-ws web service deployed on web sphere server and when I am trying to access the wsdl in browser with the url 在web sphere服务器上部署了一个jax-ws Web服务 ,当我尝试使用url访问浏览器中的wsdl时

"Http://localhost:7001/HelloWorldService/port/helloworld?wsdl"

I see that the url is getting changed to the below one 我看到网址正在变为下面的网址

"Http://localhost:7001/HelloWorldService/port/helloworld/HelloWorldService.wsdl"

Can someone explain the difference between these both .wsdl and ?wsdl and what needs to be done to keep the url same as ?wsdl instead of getting changed to .wsdl? 有人可以解释这些.wsdl和?wsdl之间区别以及需要做些什么来保持网址与?wsdl相同而不是更改为.wsdl?

helloworld?wsdl --> is just a request to the service provider so you can get the wsdl. helloworld?wsdl - >只是对服务提供商的请求,因此您可以获取wsdl。

HelloWorldService.wsdl" --> This is the actual file that describes the service which has set of endpoints. HelloWorldService.wsdl“ - >这是描述具有一组端点的服务的实际文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM