Hi all
Can you please help me for this
1. create web service to connect to oracle database(10.0.2)
2. call that web service through windows mobile 6.0
Thanks & Regards
Asanka
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted Jun 8, 2011, 2:47 AM EDT
You can use wsdl.exe utility to create the proxy class , manually.
http://msdn.microsoft.com/en-us/library/7h3ystb6(v=VS.100).aspx
http://msdn.microsoft.com/en-us/library/d2s8y7bs(v=vs.80).aspx
http://www.techrepublic.com/article/testing-a-web-service-with-a-proxy-class/5755966
Posted May 30, 2011, 5:33 AM EDT
http://www.devshed.com/c/a/Oracle/Creating-an-Oracle-Web-Service-Client-for-a-Web-Service-Created-in-VS-2005/
How to access web service thru mobile application.
Now, lets see how we can access this web service in Windows Mobile based applications.
1. Create a Windows Mobile based Windows Forms Application
2. Add a Web Reference to your web-service. Now, here is the glitch. While adding a reference it uses your system as a localhost (in some cases port no attached) but when you deploy your application on Windows Mobile, actually your web-service is still running on your development machine and not on your device. Hence, change this localhost with your development machine name OR machine name on which your web service is hosted. Don't use IP address. Why? Because, when you attach your mobile device to the machine, using DHCP it gets automatic IP address. So, don't set any IP address rather use machine name.
3. Now, create a proxy class and use that web service in your application.
4. To test the application, run it in emulator or on device. Now, if you're running your application on real physical device then it should work properly. But, if you're running it on emulator, then make sure that...
This ways you should be able to consume web service hosted on your machine onto your mobile device (whether real-physical device OR emulator).
http://forums.asp.net/t/1399006.aspx/1?How+To+use+Webservice+in+Windows+Mobile+and+Show+Horizontal+Bar+in+DataGrid+
http://social.msdn.microsoft.com/Forums/is/windowsmobiledev/thread/e1f1de64-e1f5-4ca8-a871-2189f4b099c2
Hope this helps you.
Asanka Dissanayake38 reputationPosted Jun 8, 2011, 2:32 AM EDT
can you please expalin create a proxy class and use that web service in my application.
Asanka Dissanayake38 reputationPosted Jun 21, 2011, 2:56 AM EDT