How use Wsdl with out add as web refrence

Mohammad Ali Echreshavi 101 Reputation points
2021-10-26T14:38:03.55+00:00

Hi,
i want use soap in xamarin form project, i want know what diffrent between add or not add refrence ?
and if i dont want add wsdl as web refrence , how should i act?
thnak you in advance

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
0 comments No comments
{count} votes

Accepted answer
  1. JarvanZhang 23,951 Reputation points
    2021-10-27T03:40:51.61+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    How use Wsdl with out add as web refrence

    We cannot do this in Xamarin.Forms. Because the Soap service is coded on ASP.NET framework, but xamarin runs on .Net standard which cannot compile the Asp.net libraries. Using soap service requires to call the code in xamarin project and the namespaces cannot be added directly if the project reference is not added.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful