c# - Silverlight 4 and silverlight enabled WCF WebService - Cannot get it to work -


i have been struggling day (and yesterday well). basically, have asp.net website, consisting of single page. page has silverlight app, lets draw/write signature. silverlight app saves signature image, , sends webservice, supposed save in database. of in same vs2010 solution.

but no matter try, cannot silverlight/webservice interaction work. completed event doesn't fire , looks method calling doesn't fire either. i'm not sure how can debug webservice, see if method gets called.

so code, help, though simple.

void callservice() {     imgservice.imageserviceclient myclient = new imageserviceclient();     myclient.helloworldcompleted += new eventhandler<helloworldcompletedeventargs>(myclient_helloworldcompleted);      messagebox.show("starting deposit");     myclient.helloworldasync(); }  void myclient_helloworldcompleted(object sender, helloworldcompletedeventargs e) {     messagebox.show("end of hello world\n" + e.error.tostring()); } 

help me stackoverflow, you're hope.

to debug web service have set breakpoint in webservice method , start in debug mode.

then update client webreference debugging web service (take @ port).


Comments