Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

One of our ASMX webservice is consumed by 2/3 systems. I have written a new service in WCF and we intend to replace the old ASMX service with this one. I wasnt to define TCP binding in this new WCF service.
My question is - Will that involve code changes in systems that were consuming the old asmx service in order to consume the new WCF service with different binding??
If i replace just the old service URL refrence in the config file with new one, will it work?

Thanks.
Posted

This neat little article[^] will certainly help you out. If you follow the steps in there, you might get away without doing a code change on the client.

There are a few more links at the end of the article as well.
 
Share this answer
 
v2
Please note i am not migrating asmx service. I am replacing it with new one and changing the binding to TCP. In the example you provided talks about keeping the same the reference link for all the existing clients ex: webservices.bla.Function.asmx and upgrading asmx service into svc service and didnt talk about change of binding. Please read the question before you comment.
 
Share this answer
 
Comments
Abhinav S 25-Jan-11 1:33am    
You are worried about doing code changes on the client right? If your migration / replacement strategy is correct (as mentioned in this article) and you can change your asmx service to point to the WCF one, you will not need any code changes on the client - as simplea s that.

Further to that, please dont post your comments as an answer.
S Rajput 25-Jan-11 8:18am    
That article does not contain any information on how to change binding or any of its impact to the client. Anyway what is your thought? If the binding is changed to TCP. Does any change require in the client then in the way the proxy is being created? I think i will have to test it find out..
Also, the intent was just reply to your comment not giving an answer to something that i dont know.

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