This is a migrated thread and some comments may be shown as answers.

Client-Server WCF Service Application

1 Answer 115 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Evan
Top achievements
Rank 1
Evan asked on 07 Aug 2013, 09:28 PM
Hello,

I am looking for some insight on consuming webservices using Icenium. I am writing a WCF Service Application in Visual Studio 2010 that will be hosted on my company's internal server and in order to configure/write correctly I was hoping someone could tell me the way in which the mobile apps behave/consume services. Does it act as a pure client or as a web page where I will need to write cross-domain services?

If any one could provide me with examples of their existing WCF Service Application web configs/interface/service code that they have used with an AJAX call in Icenium, that would be great.

Thank you!

1 Answer, 1 is accepted

Sort by
0
David Silveria
Top achievements
Rank 1
answered on 12 Aug 2013, 02:26 PM
Basically you should create wcf rest service and return json response and on the client you would use jquery ajax/jsonp to read the response. Check out these blog series:
  • http://www.practicaldeveloper.net/2012/05/restful-wcf-services-with-jquery-mobile.html?m=1
  • http://www.practicaldeveloper.net/2012/05/restful-wcf-services-with-jquery-mobile_10.html
  • http://www.kendoui.com/blogs/teamblog/posts/12-05-11/hello_services_webapi_rest_json_and_ajax.aspx

Cheers!

Tags
AppBuilder Windows client
Asked by
Evan
Top achievements
Rank 1
Answers by
David Silveria
Top achievements
Rank 1
Share this question
or