websss
asked on
webservice and scheduled task
Hi
I've got a webservice which doesn't return anything (i.e. it's a sub and not a function)
This is all setup in a website
I want to create a console application so i can setup a scheduled task to hit the webservice every minute.
I'm guessing how to do this, this is how far i've got:
I've created a new console application, and added a service reference to the DEV url of the webservice (its not live yet) - it asked me to give it a namespace, so i called it bob
its added a file called module1.vb, however, on it doesn't list my sub
i.e. bob.runimport
however, it does have the helloworld option i.e.
bob.helloworld
i'm guessing this is because mine is a sub, and hello world is function?
???
also, when i tried to publish it, it said it would create an install file, i thought it would just create an EXE file?
help!
I've got a webservice which doesn't return anything (i.e. it's a sub and not a function)
This is all setup in a website
I want to create a console application so i can setup a scheduled task to hit the webservice every minute.
I'm guessing how to do this, this is how far i've got:
I've created a new console application, and added a service reference to the DEV url of the webservice (its not live yet) - it asked me to give it a namespace, so i called it bob
its added a file called module1.vb, however, on it doesn't list my sub
i.e. bob.runimport
however, it does have the helloworld option i.e.
bob.helloworld
i'm guessing this is because mine is a sub, and hello world is function?
???
also, when i tried to publish it, it said it would create an install file, i thought it would just create an EXE file?
help!
It sounds like you have a problem with the web service, where it didn't recompile after you changed the default HelloWorld web method to your method.
ASKER
Thanks
I'm not sure what to do with that information
I've created a new webservice from scratch, so i'm not sure what i didn't do? is there a something i was supposed to do?
I'm not sure what to do with that information
I've created a new webservice from scratch, so i'm not sure what i didn't do? is there a something i was supposed to do?
Did you rebuild the web service? Are you referencing the web service from the local IIS?
ASKER
Yes i did rebuild
Its running using asp.net webserver, not Local IIS
Its running using asp.net webserver, not Local IIS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.