Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to call a web method in a web form application??

how to call a web method in a web form application??

Scheduled Pinned Locked Moved C#
helptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    remyajith
    wrote on last edited by
    #1

    haiii I created a webservice.But i want to create a sample APP to check my webservice.... :(( Anyone help me in the code...hw to call a web method in a web form ? i tried smethng bt..showing the error: No overload for method 'AddValue' takes '0' arguments.... thnks in advance..... :)

    C S 2 Replies Last reply
    0
    • R remyajith

      haiii I created a webservice.But i want to create a sample APP to check my webservice.... :(( Anyone help me in the code...hw to call a web method in a web form ? i tried smethng bt..showing the error: No overload for method 'AddValue' takes '0' arguments.... thnks in advance..... :)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      remyajith wrote:

      i tried smethng bt..showing the error: No overload for method 'AddValue' takes '0' arguments....

      Well, we have four issues 1 - you can't work out how to use the asp.net forum 2 - you don't know how webservices work ( they generate their own test pages ) 3 - you can't read error messages or use intellisense 4 - you think we can fix your buggy code despite the fact that you didn't post it. It all looks beyond redemption to me.

      Christian Graus Driven to the arms of OSX by Vista.

      R 1 Reply Last reply
      0
      • C Christian Graus

        remyajith wrote:

        i tried smethng bt..showing the error: No overload for method 'AddValue' takes '0' arguments....

        Well, we have four issues 1 - you can't work out how to use the asp.net forum 2 - you don't know how webservices work ( they generate their own test pages ) 3 - you can't read error messages or use intellisense 4 - you think we can fix your buggy code despite the fact that you didn't post it. It all looks beyond redemption to me.

        Christian Graus Driven to the arms of OSX by Vista.

        R Offline
        R Offline
        remyajith
        wrote on last edited by
        #3

        Anyway thnks 4 ur g8 reply........

        C 1 Reply Last reply
        0
        • R remyajith

          Anyway thnks 4 ur g8 reply........

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          txt speak only makes you look more stupid. If you want help, try reading the forum rules, posting in the right forum, perhaps even googling for information or doing some basic reading on the technologies you are using. Did you even notice that I told you the answer ? If you browse to your web service, it will return test pages so you can execute the web methods via a URL.

          Christian Graus Driven to the arms of OSX by Vista.

          1 Reply Last reply
          0
          • R remyajith

            haiii I created a webservice.But i want to create a sample APP to check my webservice.... :(( Anyone help me in the code...hw to call a web method in a web form ? i tried smethng bt..showing the error: No overload for method 'AddValue' takes '0' arguments.... thnks in advance..... :)

            S Offline
            S Offline
            Steve_
            wrote on last edited by
            #5

            Your problem is that the method 'AddValue' does not take zero arguments. This is stated quite clearly in the error message you are receiving. Take a look at the AddValue method in your code or the documentation for it (if you didn't make it) and see what arguments it takes. Then double-click the error to find the line that is causing the error and make sure your call to AddValue is supplying all of the correct arguments. Next time, as the other guy said, post in the right forum and clean up your grammar and you might get help faster. Steve

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups