locked
Cannot figure out how to consume SOAP webservices. RRS feed

  • Question

  • User398617 posted

    I have been looking for days, both at forums and Microsoft's documentation, and still have no clue how to consume SOAP webservices into a Xamarin Forms project. If someone could just walk me through:

    1) How to consume SOAP web services 2) How to populate UI with retrieved data (a label for example)

    Thank you so much.

    PS: I have to use SOAP- company won't do another type of web service.

    Monday, December 21, 2020 4:53 PM

All replies

  • User2148 posted

    1) https://docs.microsoft.com/it-it/xamarin/xamarin-forms/data-cloud/web-services/asmx 2) DataBinding https://channel9.msdn.com/Shows/XamarinShow/Introduction-to-MVVM

    Monday, December 21, 2020 5:18 PM
  • User398617 posted

    @AlessandroCaliaro

    Looked at both of these resources already and they are not thorough enough (I'm a beginner), hence me stating in the original post: "I have been looking for days, both at forums and Microsoft's documentation, and still have no clue how to consume SOAP webservices"

    Monday, December 21, 2020 5:20 PM
  • User2148 posted

    Ok, you are a beginner but you have to start to study. There are good resources and there is also a sample: https://docs.microsoft.com/it-it/samples/xamarin/xamarin-forms-samples/webservices-todoasmx

    Monday, December 21, 2020 5:28 PM
  • User2148 posted

    https://docs.microsoft.com/it-it/xamarin/xamarin-forms/creating-mobile-apps-xamarin-forms/ https://docs.microsoft.com/it-it/xamarin/xamarin-forms/app-fundamentals/ https://docs.microsoft.com/it-it/xamarin/xamarin-forms/data-cloud/

    Monday, December 21, 2020 5:36 PM
  • User398617 posted

    @AlessandroCaliaro

    No disrespect, I do appreciate your help, but what do you not understand about "I have been reading the docs for days". I have taken two courses over Xamarin forms now, have UI/UX completely done, and just am a beginner to SOAP. I HAVE read all the docs and still don't understand. So, I went to the next resource looking for examples relevant to my needs, NOT back to the docs. Also one of the links gives a 404.

    Monday, December 21, 2020 5:40 PM
  • User2148 posted

    @DeZtheKid said:

    @AlessandroCaliaro

    No disrespect, I do appreciate your help, but what do you not understand about "I have been reading the docs for days". I have taken two courses over Xamarin forms now, have UI/UX completely done, and just am a beginner to SOAP. I HAVE read all the docs and still don't understand. So, I went to the next resource looking for examples relevant to my needs, NOT back to the docs. Also one of the links gives a 404.

    What do you not understand? Which is the problem with soap? Have you written some code? Do you have a repo to test?

    Which is the link with 404 because I don't find it

    Monday, December 21, 2020 5:43 PM
  • User398617 posted

    @AlessandroCaliaro said:

    @DeZtheKid said:

    @AlessandroCaliaro

    No disrespect, I do appreciate your help, but what do you not understand about "I have been reading the docs for days". I have taken two courses over Xamarin forms now, have UI/UX completely done, and just am a beginner to SOAP. I HAVE read all the docs and still don't understand. So, I went to the next resource looking for examples relevant to my needs, NOT back to the docs. Also one of the links gives a 404.

    What do you not understand? Which is the problem with soap? Have you written some code? Do you have a repo to test?

    Which is the link with 404 because I don't find it

    If you could simply show me how to consume a SOAP service into a Xamarin Forms project. The code I have is irrelevant because it is all XAML. Literally that's it. I understand all XAML and Binding.

    Monday, December 21, 2020 5:45 PM
  • User2148 posted

    Have you tried to create a proxy class adding a web reference to platform specific project (Android, iOS)?

    Monday, December 21, 2020 5:49 PM