|
-
Jun 5th, 2013, 06:05 PM
#1
Thread Starter
Hyperactive Member
Consuming a web service problem -RESOLVED-
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
Last edited by gtilles; Jul 5th, 2013 at 10:41 AM.
Truly, you have a dizzying intellect.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|