Results 1 to 9 of 9

Thread: Consuming a web service problem -RESOLVED-

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394

    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
  •  



Click Here to Expand Forum to Full Width