how to call a web method in a web form application??
-
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..... :)
-
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..... :)
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.
-
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.
-
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.
-
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..... :)
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