How to call web service in a User Control Webpart
Hi i am able to load the user control into the webpart but however i am not able to reference the webservice that i added to the User Control's Web application project, i tried adding a web reference in the webpart project but still i am not able to reference the web service in the ascx.cs code behind
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Mar 1, 2011, 12:15 AM EST
Have a look at some articles list in right side panel and also visit the site http://msdn.microsoft.com/en-us/library/dd583145%28v=office.11%29.aspx
Peterson Yap35 reputationPosted Mar 2, 2011, 3:24 PM EST
I am still trying to solve the error:The type or namespace name 'SMSMessageService' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Administrator\Desktop\BuzzSMS\SMSControl\SMSControl.ascx.cs.
I am not able to reference in the code behind, the web reference proxy class that VS08 help create when i add a web refference.
Regards
Peterson Yap35 reputationPosted Mar 2, 2011, 4:20 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Mar 3, 2011, 6:42 AM EST