简体   繁体   中英

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

"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?

helloworld?wsdl --> is just a request to the service provider so you can get the wsdl.

HelloWorldService.wsdl" --> This is the actual file that describes the service which has set of endpoints.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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