ASP.NET WEBSERVICE RELATED QUESTION

Posted by Anu_dgr8 under Regular Expressions on 2/23/2011 | Points: 10 | Views : 1209 | Status : [Member] | Replies : 4
I Have a windows application..From this application i want to pass parameters to a web method of a webservice application..how do i do this?
Thanks in Advance:)

Thanks and Regards,
Hoosha Boosha



Responses

Posted by: Madhu.b.rokkam on: 2/23/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Add webreference to your application pointing to the webservice.
Create an instance of the webservice class and call your methods with thier respective parameters.

Thanks and Regards
Madhu

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/23/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Some example would clear the idea!!!!!

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: venkyshwe8-8686 on: 2/24/2011 [Member] Starter | Points: 25

Up
0
Down
just an easy way ..

first thing ,u have to add web reference to ur windows project with respect to that webservice . .
second thing, in ur application or project, u have to create an object/instance of that webservice class(which is in another application)
finally, u can call the methods directly with the help of an object and u can pass parameters directly . .



VenkateshGupta

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/24/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

check these links... It gives you step by step

http://support.microsoft.com/kb/818364

http://www.codeproject.com/KB/cs/webservice.aspx

Thanks
Karthik
www.f5Debug.net

Anu_dgr8, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response