I am new to this (Web API) forum and I hope that this message is going into the right place.
I have little or no experience with WCF, but I have had some experience with writing a web service whereby it is being consumed by another organisation.
In my current project, we separated the Web and App tier with the use of a number of web services. All this is well-and-nice with the help of Visual Studio, where it conveniently creates Web References for our Web tier (to consume the services on the App
tier). However, when it comes to deploying the compiled binaries into a UAT environment (and subsequently a Production environment), we are unable to change these Web References as they are in a compiled and stored in "App_WebReferences.compiled" and "App_WebReferences.dll".
And as such, the web tier cannot "reach" the web services.
I believe this problem can be overcome if we can find a way to generate web references without using Visual Studio; or is there another way?
RockOyster
0 Points
2 Posts
How to Generate Web References without using Visual Studio
Jun 28, 2012 10:36 AM|LINK
Dear ASP.NET Forum,
I am new to this (Web API) forum and I hope that this message is going into the right place.
I have little or no experience with WCF, but I have had some experience with writing a web service whereby it is being consumed by another organisation.
In my current project, we separated the Web and App tier with the use of a number of web services. All this is well-and-nice with the help of Visual Studio, where it conveniently creates Web References for our Web tier (to consume the services on the App tier). However, when it comes to deploying the compiled binaries into a UAT environment (and subsequently a Production environment), we are unable to change these Web References as they are in a compiled and stored in "App_WebReferences.compiled" and "App_WebReferences.dll". And as such, the web tier cannot "reach" the web services.
I believe this problem can be overcome if we can find a way to generate web references without using Visual Studio; or is there another way?
Any assistance will be well appreciated.
Thank you.
XIII
All-Star
182690 Points
23458 Posts
ASPInsiders
Moderator
MVP
Re: How to Generate Web References without using Visual Studio
Jun 28, 2012 01:29 PM|LINK
Hi,
for webservices you can make use of wsdl.exe (http://msdn.microsoft.com/en-us/library/7h3ystb6(v=VS.71).aspx) and for WCF it's svcutil.exe (http://msdn.microsoft.com/en-us/library/aa347733.aspx).
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
RockOyster
0 Points
2 Posts
Re: How to Generate Web References without using Visual Studio
Jul 24, 2012 03:34 AM|LINK
Hi. Thank you for your answer. It has been of great help to us.