Shopify/dashing

how to call WCF JASON service from a scheduler job

Opened this issue · 0 comments

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