TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Digvijay Singh
NA
1
752
access web service method with parameter using desktop app
Feb 24 2015 2:28 AM
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
Reply
Answers (
1
)
Error while accessing wcf service in Basichttpbinding
Request / reponse parameters