简体   繁体   English

在没有Web服务的情况下练习从iPhone调用Web服务?

[英]practice web service calling from iPhone without having web service?

I want to practice Web Service Calling (both SOAP and REST) for iPhone App Development. 我想练习iPhone应用程序开发的Web服务调用(SOAP和REST)。 Problem is i don't have any Web Service implemented for practicing the same. 问题是我没有实现任何Web Service来实践相同的服务。

Any mock URLs (web service) for learning? 是否有用于学习的模拟URL(Web服务)? At which I can have response of all types (like strings, PDFs, images, etc). 在这里我可以得到所有类型的响应(例如字符串,PDF,图像等)。

I have only basic idea of Web Service Calling from iPhone App. 我只有从iPhone App调用Web服务的基本概念。 So, purpose is to get good understanding of WebService calling. 因此,目的是为了更好地理解WebService调用。

I have Mac and Internet, only. 我只有Mac和Internet。 Nothing else. 没有其他的。

I know this isn't the right place to ask but I could find any help by googling it. 我知道这不是一个合适的地方,但是我可以通过谷歌搜索找到任何帮助。

You can get some free opensource web services on the web for your practice. 您可以在网上获得一些免费的开源Web服务来进行练习。 Urls for free webservices are mentioned below. 免费网络服务的网址在下面提到。

Note: I am not sure if any of these will give you PDF / IMAGE as an output response of the service. 注意:我不确定其中任何一个是否会给您PDF / IMAGE作为服务的输出响应。

http://free-web-services.com/ http://free-web-services.com/

http://www.webservicex.net/ws/wscatlist.aspx http://www.webservicex.net/ws/wscatlist.aspx

It might be helpfull Go through the step-by-step tutorial from the below link: 从下面的链接逐步学习本教程可能会有所帮助:

http://www.devx.com/wireless/Article/43209 http://www.devx.com/wireless/Article/43209

Create an app which uses the web service at the following link: http://www.webservicex.net/WeatherForecast.asmx?WSDL , to give the weather of a US city name entered by the user. 在以下链接中创建一个使用Web服务的应用程序: http : //www.webservicex.net/WeatherForecast.asmx?WSDL ,以提供用户输入的美国城市名称的天气。 Use the method "GetWeatherByPlaceName" 使用方法“ GetWeatherByPlaceName”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM