I have 5 Screens on Iphone that will access a WCF service hosted on my server.
The Iphone will present data to the WCF service and get results in return and presents the same on the iphone screen
As a test, I have hosted a WCF service on my web server which will return some test data that needs to be bind by the iPhone User Interface.
If you can access the server side from Iphone, then you can do this job.
The URL for the WebService is :
http://support.get1geek.com/POSTest/POSService.svc
URL to get the WSDL for this service is http://support.get1geek.com/POSTest/POSService.svc?wsdl
The WCF service defines three methods:
1. GetAllEmployees() : which will return a dummy array of an Employee.
2. GetEmployee(int employeeId): this takes an employeeId as a parameter and will return a dummy employee object.
3. SaveEmployee(Employee employee): this takes an Employee object to be saved and returns dummy boolean value which will always be true for now.
Download the following to see a working ASP.Net sample consuming the same service.
Review the code and let me know if you can access the service with this .
http://www.get1geek.com/TestClientWebAPP.rar
You can download 7zip.com to unzip an rar file, if you don't have an unzip utility
Here are some links on how to program Iphone to consume web services
http://allseeing-i.com/ASIHTTPRequest/
http://allseeing-i.com/ASIHTTPRequest/How-to-use
Apply IF YOU KNOW HOW TO WRITE (1) NATIVE IPHONE APP (2)Consume web service from Iphone and (3) Know how to use SQLite in Iphone app
接包方 | 国家/地区 | |
---|---|---|
3
Infodigita
|
||
2
Jimjames
|
||
2
Mathoupany
(中标)
|