I worked with wsdl earlier by using provider consumer model with service definition and webservice multiple operation builders.
But now i have to work with rest services, I am having rest services which are live in my local machine. But not having idea about how to use those services in WEF. the examples which i found over wiki and internet are mostly about atom and RSS feeds only. i am looking for request based rest example
my REST service url will be http://localhost:8086/service/feedback/provideFeedback and the request name is ProvideFeedbackRequest . not sure which builder have to use and how to provide the above inputs.
i am able to hit my rest service explictly from html using xmhttp.pls find the code below
var url = "http://localhost:8086/service/feedback/provideFeedback";
params ='<ProvideFeedbackRequest managerId="'+managerid+ '" projectName="'+projectTeam+ '" quality="NA" comments="'+comments+'" empname="'+empname+'" empid = " '+empid+' "/>';
xmlhttp.open("POST", url, true); // async
//Send the proper header information along with the request
Its working fine with HTMl explicit calling REST Service, can any body help me how to pass the same above inputs in builders and to call the REST service. please provide sample model for the above
Any help will be appreciated