I ve built a simple webservice just for testing and whenever I implement it on my windows phone 8 solution(I add a refference) my methods which are decorated with the [webmethod] naturally seem to convert from type string for example to type void and at the end of the method name I see a async word. Can anyone please give me a suggestion how to fix that?
I need this webservice to target my database. I have to communicate with it via this webservice(actually using it as a proxy to get the the databaseserver). I doing everything locally. For example my webservice address is:
http://localhost:47852/Number.asmx?WSDL
castajiz_2
35
Posting Whiz
Recommended Answers
Jump to PostAny particular reason you can't use the async keyword? If so, just take it off.
An async method returns a Task, the result of the Task is your data type. So it might say
Task<string>
which means you can call the webservice from your application (synchronously) by called
All 3 Replies
Ketsuekiame
860
Master Poster
Featured Poster
castajiz_2
35
Posting Whiz
Ketsuekiame
860
Master Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.