Click here to Skip to main content
15,908,274 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I'm new in C# and I am in training, I have a mission to communicate a desktop application in C# with a web service in asp.net that communicates with another web application after. First, I need to code that allows me to send and receive data from the desktop application to the web service and vice versa.

Can someone help me please ?

or if someone can give me an idea on the necessary class to make this exchange of data between the desktop application in C# and web service in asp.net.

Thank you.
Posted

1 solution

 
Share this answer
 
Comments
Member 10872485 11-Jun-14 8:52am    
I'll check this link to see your proposal
thank you very much Richard MacCutchan.
Member 10872485 12-Jun-14 3:42am    
Hello,

how I can retrieve the value sent (Method post or get) in the web service (nameOfPage.asmx) ?

Thanks.
Richard MacCutchan 12-Jun-14 6:12am    
Sorry, I am not sure what you mean. If you want to read the response data, then you call the HttpWebResponse.GetResponseStream Method.
Member 10872485 12-Jun-14 7:05am    
I'm sorry for the repetition of the question, I'm new here, I meant in my question that I am now in page web service, so how can I recover the data on this page, it means that should I write (Code) in the [WebMethod] function.

Thanks.

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