none
web method won't accept string parameter RRS feed

  • Question

  • I created  web service class library  (modified code i found in code project)

    I referenced the dll in web app and worked fine

    I tried to the same in mono android  app i get the compile error

    Error 3 Tthe base class or interface 'System.Web.Services.WebService' in assembly 'System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by type 'WebServLib.WebServiceBase' could not be resolved

    i get rhe same error irrespective pf web.service version

    any deas?


    Wednesday, December 26, 2012 9:44 PM

All replies

  • Sorry, what does this have to do with the type of parameter?

    You should probably not be working with ASMX web services at all, unless you're stuck with .NET 2.0. You should use WCF for all new development.


    John Saunders
    WCF is Web Services. They are not two separate things.
    Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
    Use File->New Project to create Web Service Projects

    Wednesday, January 2, 2013 6:44 PM
    Moderator