webservice and scheduled task

websss
websss used Ask the Experts™
on
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!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2008

Commented:
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.
websssCEO

Author

Commented:
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?
Most Valuable Expert 2012
Top Expert 2008

Commented:
Did you rebuild the web service?  Are you referencing the web service from the local IIS?
websssCEO

Author

Commented:
Yes i did rebuild

Its running using asp.net webserver, not Local IIS
Most Valuable Expert 2012
Top Expert 2008
Commented:
If you are publishing to a web server, then it sounds like the .dll in the bin folder on the server is not getting updated.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial