Click here to Skip to main content
15,900,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a webreferences folder which contains a webservice and it is used in the solution to update information.It works as expected but once the solution is published the disco,wsdl files that are there in webreferences folder is not available and the folder is empty .What may be the problem can anyone infer?
Posted

1 solution

If the web reference is a separate project inside the solution, you have to publish it separately.

The way I did it:
1. I published the web reference on a separate directory.
2. I made a virtual directory at the main website and point the directory to the web reference.
3. In a client project I added the actual web reference to the project and use it.

If your web reference is a part of your main project it should be published together with the main project

As a matter of fact the configuring web references takes a lot of thinking and researching.

Good luck
 
Share this answer
 
Comments
k.anantharengan 16-Apr-11 1:47am    
thanks for the reply

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900