Quantcast
Viewing all articles
Browse latest Browse all 10

Consuming a web service problem

This code which works in VS2005 as a ASP.net Web Client and vb.net app does not work in 2010 Silverlight app.
VS2010 Silverlight says that CourseOutline is undefined.
Furthermore I seem to have new methods such as GetRequest, GetRequestBody, GetResponse, GetResponseBody, and
GetCompletedEventsArgs.
Some of the properties are still there but not CourseOutline. Has it been buried within another property?
Is consuming a service handled differently in Silverlight?
I have the Web Service added as a service reference. Any help would be appreciated. Thanks.

Dim myService As CourseOutline = Nothing
myService = New CourseOutline
Dim myCourseInfo() As CourseVersionInfo = Nothing
Try
myCourseInfo = myService.GetActiveCourses(20137, "ART")
Catch ex As Exception

End Try

Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>