Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

webservice on cross platform

when i use webservice on cross platform with service reference give the error Strongly-typed or untyped message can be paired only with strongly-typed, untyped or void message

Posts

  • PedroRamalhoPedroRamalho USMember ✭✭

    My code:

    srv.IsrvCatchClient auxsrv = new srv.IsrvCatchClient();
    srv.NovoClienteRequest novoClienteRequest = new srv.NovoClienteRequest
    {
    apelido = nome.Text,
    cidade = "cidade",
    cp3 = "000",
    cp4 = "0000",
    datanascimento = "11-11-1968",
    email = email.Text,
    nif = nif.Text,
    nome = nome.Text,
    password = password.Text,
    telemovel = telefone.Text
    };

            await auxsrv.OpenAsync();
            srv.NovoClienteResponse novoClienteResponse = await auxsrv.NovoClienteAsync(novoClienteRequest);
    
Sign In or Register to comment.