Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
access web service method with parameter using desktop app
Digvijay Singh
Feb 24 2015 2:28 AM
524
Reply
I want my function in web service should return xml data and it should take a parameter also.
[OperationContract]
[WebInvoke(Method = "GET",
RequestFormat=WebMessageFormat.Xml,
ResponseFormat = WebMessageFormat.Xml,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "xmlData{id}")]
string xmlData(string id);
in class I just returned the value:
string xmlData(string id){
return "id is:"+id;
}
Its working in my web browser but i want it to be called by a simple desktop application but that application is giving me an exception that not endpoint found
Help me so that I can get an answer
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Error while accessing wcf service in Basichttpbinding
Request / reponse parameters