What is best way to get data from web services.I have created a web services in asp.net and i want invoke method of web services and get return data.What is best way. Please share your idea .
This link shows that you are calling particular page and passing query string from Lua and get return output from that page.But my question is how to invoke method directly from Lua.
Then it should work after compile.But its not working after compile.May i know the reason?.Even after
compile its not invoking method. [import]uid: 209400 topic_id: 34978 reply_id: 139233[/import]
You probably should put some print statements in to check to see if the listener is getting called, if you’re getting an error, and what response you’re getting. Without seeing your code, all I can do is guess. Make sure you have network connectivity from your device.
And the two most common reasons for “It works in the simulator but not on the device” is either a case sensitivity problem with a file name or an error in your build.settings file. While this has nothing to do with your network.request(), it could stop the app from running and look like this kind of problem.
Do you know how to view the device’s console log using “adb logcat”?
[import]uid: 199310 topic_id: 34978 reply_id: 139239[/import]
This link shows that you are calling particular page and passing query string from Lua and get return output from that page.But my question is how to invoke method directly from Lua.
Then it should work after compile.But its not working after compile.May i know the reason?.Even after
compile its not invoking method. [import]uid: 209400 topic_id: 34978 reply_id: 139233[/import]
You probably should put some print statements in to check to see if the listener is getting called, if you’re getting an error, and what response you’re getting. Without seeing your code, all I can do is guess. Make sure you have network connectivity from your device.
And the two most common reasons for “It works in the simulator but not on the device” is either a case sensitivity problem with a file name or an error in your build.settings file. While this has nothing to do with your network.request(), it could stop the app from running and look like this kind of problem.
Do you know how to view the device’s console log using “adb logcat”?
[import]uid: 199310 topic_id: 34978 reply_id: 139239[/import]
What is best way to get data from web services.I have created a web services in asp.net and i want invoke method of web services and get return data.What is best way. Please share your idea .
Change your WebService (I am assuming you are using SOAP) to a WCF service and use JSON. I did it this way and with a few lines of code you have your data coming in easily. I can supply a sample if you like.
What is best way to get data from web services.I have created a web services in asp.net and i want invoke method of web services and get return data.What is best way. Please share your idea .
Change your WebService (I am assuming you are using SOAP) to a WCF service and use JSON. I did it this way and with a few lines of code you have your data coming in easily. I can supply a sample if you like.