Link to home
Start Free TrialLog in
Avatar of websss
websssFlag for Kenya

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!
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

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.
Avatar of websss

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?
Did you rebuild the web service?  Are you referencing the web service from the local IIS?
Avatar of websss

ASKER

Yes i did rebuild

Its running using asp.net webserver, not Local IIS
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial