How call SOAP based web-Service using PhoneGap in iPhone?

后端 未结 2 970
感动是毒
感动是毒 2020-12-19 15:35

I am newbie for PhoneGap and our client\'s requirement is to access SOAP based web-service in iPhone using PhoneGap, basically accessing the web-service using javascript, an

2条回答
  •  清歌不尽
    2020-12-19 16:18

    calling a webservice with phonegap is the same than calling it directly from your browser (but you have to think about the same orign policy).

    Some performance implications are here to consider was well because processing big chunks of xml in javascript on mobile phones might be slow. So you could use some kind of weserver to talk to the webservice end send some simplified json to your phone or you can take a look at this tutorial from ibm describing how to call a webservice directly from javascript: http://www.ibm.com/developerworks/webservices/library/ws-wsajax/

提交回复
热议问题