https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/soap.js
我已经为 iphone 测试了这个,它工作正常,但在 android 上不行。请帮忙。
https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/soap.js
我已经为 iphone 测试了这个,它工作正常,但在 android 上不行。请帮忙。
您也可以在 android 中使用上述链接示例中使用的 Web 服务 url。那里显示的 Web 服务可以以多种方式使用。你可以做soap解析,或者你也可以做xml解析。如果你想通过 xml 解析,那么使用下面的链接
http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?FromCurrency=USD&ToCurrency=INR
您需要用所需的转换替换 USD(此处为美元)和 INR(印度卢比)。