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

I'm new to WCF and learning some basics.

I have a WCF web service named 'Employee' and two methods AddEmployee(POST method) and DeleteEmployee(DELETE method) having same Uri template '/Employees/{id}'.

How can i execute the methods through the browser which have same UriTemplate ????
Posted
Updated 17-Oct-13 0:06am
v2

1 solution

you can use, JQuery..


jQuery.support.cors = true;
$.ajax({
crossDomain: true,
url: "",
type: "POST",
dataType: "xml",
data: soapMessage,
});
http://jquery.com/[^]
 
Share this answer
 
Comments
Vineeth.B 17-Oct-13 8:09am    
This is programming. Right?? Is there any other simple way, like just entering the url in the browser address bar?????

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