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
Sairam
NA
321
415.7k
Webservice dynamic attribute creation
Jul 28 2011 9:24 AM
Hi,
I have created a xml webservice in .NET
where i have 3 classes and one web method
A is base class and b and c are subclasses of the A
In a webmethod named action() return response type as A
inside webmethod
if true then
return B
else
return c
end if
in case of True while returning the xml structure must include A as root element and B as it attribute
In case of False while returning the xml structure must include A as root element and c as it attribute
Reply
Answers (
1
)
New LiveDocx sample: Creating invoices using a Web Service
Web Service Protocol Stack