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

BasicHttpBinding Error - Visual Studio

$
0
0

Problem is not calling the wcf function using basichttpBinding and showing an error. No host to route error comes up on Visual Studio.

Unhandled Exception: System.Net.WebException: Error: ConnectFailure (No route to host)

using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using HelloWorld_App4.localhost;

namespace HelloWorld_App4 { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here.

        localhost.Service1 obj = new localhost.Service1();

        obj.GetData(32, true);

        UIApplication.Main(args, null, "AppDelegate");
    }
}

}


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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