Xamarin PCL 使用 SOAP Web 服务

编程入门 行业动态 更新时间:2024-10-15 14:18:25
本文介绍了Xamarin PCL 使用 SOAP Web 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我有 Xamarin 可移植类库,我需要连接到 SOAP Web 服务.计划是在可移植类中与服务进行通信,然后在 iOS、Android、Windows Phone 项目中访问它.这可能吗?我能够在 android 项目中添加 web 引用,但我不能为 windows 手机这样做.我正在使用 Visual Studio 2015.有人可以帮忙吗?

I have Xamarin Portable Class Library, and I need to connect to SOAP web service. Plan was to communicate with service in portable class, and then access it in iOS, Android, Windows Phone projects. Is this possible? I was able to add web reference in android project, but I can't do that for windows phone. I am using visual studio 2015. Can anyone help?

推荐答案

(仅供参考:这是 StackOverflow 的题外话,但这是一个关于 WinPhone、Web 服务和 PCL 的热门问题)

(FYI: This is off-topic for StackOverflow, but this is a popular question concerning WinPhone, Web services and PCL)

Xamarin 有一篇很棒的技术文章,介绍了不同的 Web 服务以及如何将它们集成到您的应用程序(Android、iOS 和 WinPhone)中:

Xamarin has a great tech article that goes over the different web services and how to integrate them into your application (Android, iOS and WinPhone):

本教程介绍了如何将 REST、WCF 和 SOAP Web 服务技术与 Xamarin 移动应用程序集成.它检查各种服务实现,评估可用的工具和库以集成它们,并提供用于使用服务数据的示例模式.

This tutorial introduces how to integrate REST, WCF and SOAP web service technologies with Xamarin mobile applications. It examines various service implementations, evaluates available tools and libraries to integrate them, and provides sample patterns for consuming service data.

Web 服务简介

这篇关于Xamarin PCL 使用 SOAP Web 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-24 18:38:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1068435.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:PCL   Xamarin   Web   SOAP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!