Question Consume a WCF or Web Service

dmarkus100

Member
Joined
Jul 11, 2010
Messages
15
Programming Experience
1-3
How can I consume a web service in VS2010 WP7? I try to use a WCF but can not get it to call the function - only offers functionAsync or similar? Have googled to my hearts content but can not find a solution. Thanks!
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,543
Location
Norway
Programming Experience
10+
WCF in Windows Phone only supports asynchronous methods, use a WithEvents variable or add event handlers with AddHandler statement. Each service method has an async method and a corresponding event that returns the result.
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,543
Location
Norway
Programming Experience
10+
You can use a WCF client (service reference) with old soap service, if that is what you meant.
 
Top Bottom