user5657519
user5657519

Reputation:

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?

Upvotes: 5

Views: 4512

Answers (1)

Ruelos Joel
Ruelos Joel

Reputation: 2389

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.

Upvotes: 4

Related Questions