简体   繁体   中英

Consuming SOAP web service in Xamarin Forms Portable Class Library (PCL)

I've made a web service in the ASMX format which I'm trying to consume in my Xamarin.Forms project. By default I cannot right-click "references" and click "Add Web Reference", it's just not there. However after I manually add System.Web.Services it appears. However when I try to add the web service I get an error "The method or operation is not implemented":

在此处输入图片说明

Can anyone help me? Thanks.

Edit: Profile in the project: 在此处输入图片说明

Add Service Reference as shown in the picture. To get that option unload the PCL project, edit it. Find Profile259 and change it to Profile78

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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