Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Web services, nothing is appearing in the emulator

$
0
0

Hello,

I try to call a web service soap that I made with Visual studio(Helloworld), y showing the result in a textview, xamarin says that the connection is established, I can instantiate the service but nothing appearing in the emulator after.This is my code `using System.Collections.Generic; using System.Data; using Android.App; using Android.Content; using Android.OS; using Android.Widget; using System.Net; using System.Json; using System.Text; using TaskyAndroid.Adapters; using System.Web.Services; using TaskyAndroid.localhost; using System.IO; using System.Xml;

//using System.Json;

namespace TaskyAndroid { [Activity (Label = "", MainLauncher = true)]
public class essaiws : Activity {

    protected override void OnCreate (Bundle bundle)
    {
        base.OnCreate (bundle);
        SetContentView (Resource.Layout.essaiws);
        var txt=FindViewById<TextView>(Resource.Id.textView1);

        Service1 ws = new Service1 ();
        txt.Text = ws.HelloWorld ();




    }

}

}

` Would anyone help me.Thank you so much.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>