Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster Tony John
Online Members
srirama
Pawan Awasthi
Priya jain
More...
Forums
»
.NET
»
WCF
»
Update Service Reference
Posted Date:
18 Jun 2012
Posted By::
Murugan
Member Level:
Bronze
Member Rank:
3389
Points
: 5
Responses:
2
Hi All,
I am stuck in a very strange problem. I am consuming a wcf service in asp.net project using VS. Everything was fine before, but suddenly wcf service updation started behaving strangly. As soon as i update the service reference by right clicking on the service and selecting Update Service Reference, it deletes all the file and create new file with different name. I got the updated service with different file name because of these I am not able to check in the code.Even delete and add of service reference give the same.
Looking forward any guidance to solve this problem.
Thanks in advance
Tweet
Responses
#676162 Author:
Ravindra Gaurana
Member Level:
Gold
Member Rank:
179
Date: 19/Jun/2012 Rating:
Points
: 4
Hi
please refer this link
http://connect.microsoft.com/VisualStudio/feedback/details/534667/update-service-references-removes-all-content-from-reference-cs-file
hope this will help you in case not please give some more details about your service and hosting environment.
one workaround is try to delete it and create a separate solution with the same name and add the project with same name of your client project and try to add new service reference and then try same is happening or not.
Regards,
Ravindra
Thanks & Regards
Ravindra Gaurana
Dotnetravindera@gmail.com
Catch Me dotnetspider
#676340 Author:
Murugan
Member Level:
Bronze
Member Rank:
3389
Date: 19/Jun/2012 Rating:
Points
: 1
Thanks for your kind replay.
Step:1 - I have a Service with IIS hosting.
Step:2 - I have an web application,where I am consuming the wcf service.
Step:3 - Default files(wsdl,xsd,reference) gets generated while consume the service.
Step:4 - If I update the Service and took a update service reference in the web application will cause a problem.
Problem 1:Delete the old files(wsdl,xsd) and create a new set of file with different file name.But I have updated in the wsdl and refrence file.Creation of new file instead of updating in the previous files(wsdl,xsd).
Kindly assist me to solve the above issue.
Thanks in advance.
Will I miss any setting or I have to change any value in the web config file?
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
What do you meant by Contracts in WCF?
Previous :
Using wcf how to upload a image
Return to Discussion Forum
Post New Message
Category:
Related Messages
Pls tell me diference between Webservices and Windows Communication Foundation.(WCF)
WPF,WCF,WWF - .NET 3.0
wcf
how to create WCF CHAT appliications..urgent plz
WCF [or] Indigo
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
Ultimaterengan
(42)
Priya jain
(16)
Asheej T K
(16)
Last 7 Days
baskar
(312)
naveensanagase...
(183)
Asheej T K
(179)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds