Click here to Skip to main content
15,894,314 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have a web service hosted in a server. i need to change the service to a new server, this will change the service url. this change should not affect the existing users. how is it done? such that the existing users need not update the url
Posted
Comments
sahabiswarup 30-Dec-13 0:32am    
$.ajax({
type: "POST",
url: "newserver/webservicesname",
data: { "Name": Value },
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess,
failure: function (response) {
alert(response);
}
});

1 solution

if you are pointing to an ip, then user have to change the url, but if you are pointing to an domainName, then client is not in need to update anything,
all is needed to point the current domain Name to the new server.
 
Share this answer
 

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