views:

65

answers:

1

This is probably a stupid question. I don't know anything about Web Service but I have to work on this existing web service.

What is the difference between club.asmx?wsdl vs club.wsdl ?

I noticed they are similar, but club.wsdl has more stuff in it.

Aren't they generated automatically from the .cs code?

+1  A: 

club.asmx?wsdl is a request to the service to generate and return a WSDL.

club.wsdl is just a reference to a file on your web server. Presumably it contains the WSDL that is meant to be exposed to customers.

John Saunders
Thanks John. Yes apparently club.wsdl is the complete file. But why are they different?
@aximili: why do you think they ought to be the same?? The club.asmx?wsdl asks the service to describe itself - which it does. This has nothing to do with any static file on disk at that web server.... the club.wsdl file on disk can be anything.... there's no link between the two (other than the fact they probably *should* be describing the same thing).
marc_s
I see, thanks marc_s