Click here to Skip to main content
16,004,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to send response from Web Service.
I am inserting around 150 Parameters grouped into 10 XML..
When i Insert first XML i want to send responses to Consumer like "XML 1 Inserted"
When i Insert SecondXML i want to send responses to Consumer like "XML 2 Inserted"
When i Insert Third XML i want to send responses to Consumer like "XML 3 Inserted"
.
.
.


How can i do it??
Posted
Comments
shashikanth 2011 7-Nov-11 1:31am    
I didnt get Clearly, do you want to use WebService or you want to creat a new WebService which will dynamically changes?
Vishal Waman 7-Nov-11 2:04am    
Consider a scenario where My Web Service's Method is Converting Image from Byte Array Saving it at Some path and then Inserting Path + Data in DB..
Consumer Apps want to Show Current Status to User Submitting Data..
Like
Image Submitted Successfully than after some Movement Data Submitted Successfully.

My web service Method Will Return Nothing
just Need to write Current Status At Browser

Have a look at below CodeProject Article.

Duplex Web Services
 
Share this answer
 
Creat a web Method in WebService
and in that method write a code which will bring the information from any source(data),either data base or from any object and return in the format of XmlElement XmlDocument,
Any site which calls this methode from Ajax(javascript), will get the latest status..
 
Share this answer
 

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