Results 1 to 2 of 2

Thread: Problem with WebServices

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2002
    Location
    Madras
    Posts
    50

    Lightbulb Problem with WebServices

    Hi,

    i created the the table collection,column collection etc using C# for a windows application. this works fine for generating a dataset.

    now i'm trying the same using webservices. i pass the table collection as an input parameter to generate dataset. while i build the solution/project no error occurs. while i configure the .asmx file to my windows application i get an error "System.InvalidOperationException". also i get the error message like "must implement a default accessor on the class(table collection) file as it inherits from ICollection"

    What do i need to do

    Thanks
    venkat

    Strength is Life, Weakness is Death

    - Swami Vivekananda

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Problem with WebServices

    Use the 'Default' keyword against your collection's default accessor, in its signature.

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