Answered by:
web service

Question
-
User-1075092149 posted
i would like to ask the file in app_webreferences (.discomap and .wsdl files) is it all compiled file of web services?
is it just copy app_webreferences to another server is work fine ? what is .discomap and .wsdl file?
Sunday, October 27, 2013 4:13 AM
Answers
-
User-742633084 posted
Hi,
The stuffs added in App_WebReferences folder is for generating client-side proxy code (for consuming webservice) at runtime. The .disco file is used for probing and locating the webservice endpoint and wsdl file is a local copy of the metadata (service description) of the target service. I think you're creating an ASP.NET Web Site app (rather than web project app), correct? And to your question, yes, you can copy the stuffs in App_WebReferences to target server/directory when you deploy the webservice, they should work. However, when the server-side webservice code changes or the service's location has changed ,you will need to regenerate the webservice reference or modify the service location in web.config file.
#Web References in Visual Studio
http://msdn.microsoft.com/en-us/library/vstudio/tydxdyw9(v=vs.100).aspx#A Beginner's Guide to ASP.NET Application Folders
http://www.codeproject.com/Articles/31557/A-Beginner-s-Guide-to-ASP-NET-Application-Folders#k- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, October 28, 2013 1:44 AM
All replies
-
User-1075092149 posted
anyone help.
i just wanna know how i can deploy webservice to another environment?
Sunday, October 27, 2013 9:20 AM -
User-742633084 posted
Hi,
The stuffs added in App_WebReferences folder is for generating client-side proxy code (for consuming webservice) at runtime. The .disco file is used for probing and locating the webservice endpoint and wsdl file is a local copy of the metadata (service description) of the target service. I think you're creating an ASP.NET Web Site app (rather than web project app), correct? And to your question, yes, you can copy the stuffs in App_WebReferences to target server/directory when you deploy the webservice, they should work. However, when the server-side webservice code changes or the service's location has changed ,you will need to regenerate the webservice reference or modify the service location in web.config file.
#Web References in Visual Studio
http://msdn.microsoft.com/en-us/library/vstudio/tydxdyw9(v=vs.100).aspx#A Beginner's Guide to ASP.NET Application Folders
http://www.codeproject.com/Articles/31557/A-Beginner-s-Guide-to-ASP-NET-Application-Folders#k- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, October 28, 2013 1:44 AM -
User-2085209307 posted
Hello,
You can easily deploy your webservice on IIS 7.0. reffer below link.
http://www.codeproject.com/Articles/28693/Deploying-ASP-NET-Websites-on-IIS-7-0Monday, October 28, 2013 1:50 AM