Reputation: 633
I have a Web Service Project and a Web Site Project both within the same solution. I have a simple link on a web page within the Web Site Project that needs to point to a web services WSDL (example: Webservice.asmx?WSDL) within the Web Service Project. Is this possible?
Would I be better off using a hardcopy of the WSDL document and just putting that in my web site project?
Upvotes: 1
Views: 537
Reputation: 76
Why not add a Web reference to the Webservice (Browse for "Web services in this solution") ?
That's what adding the reference does, basically... along with creation of the class mapping. Then you could always update references without having to worry about hard coded wsdl links.
Upvotes: 0
Reputation: 46833
I don't believe so. You will need to have the webservice run, in either IIS, or through visual studio.
Upvotes: 1