Shopify / dashing

The exceptionally handsome dashboard framework in Ruby and Coffeescript.
http://shopify.github.com/dashing/
MIT License
10.97k stars 1.18k forks source link

how to call WCF JASON service from a scheduler job #726

Open tabishsharekhan opened 8 years ago

tabishsharekhan commented 8 years ago

Hi,

I am trying to consume a wcf web service from the scheduler job. but no luck. Has anyone tried this kind of stuff.

this is what i am trying

MYCODE: Dashing.scheduler.every '2s' do soap = SOAP::WSDLDriverFactory.new("http://localhost:64287/WebSphare.svc?wsdl").create_rpc_driver soap.ServiceMethod(:ClientId=> 12345)

ERROR: rufus-scheduler intercepted an error: 51574764 job: 51574764 Rufus::Scheduler::EveryJob "2s" {} 51574764 error: 51574764 51574764 51574764 NameError 51574764 uninitialized constant SOAP