Exemple #1
0
    // Use this for initialization
    void Start()
    {
        // WCF service
        // MyServiceClient client = new MyService(new BasicHttpBinding(),
        // new EndpointAddress("http://localhost:8080/MyService.svc"));

        // ASMX service
        wbAuthentication     = new WbAuthentication();
        wbAuthentication.Url = ClsUrl;
    }
    // Use this for initialization
    void Start()
    {
        // WCF service
        // MyServiceClient client = new MyService(new BasicHttpBinding(),
        // new EndpointAddress("http://localhost:8080/MyService.svc"));

        // ASMX service
        wbAuthentication = new WbAuthentication();
        wbAuthentication.Url = ClsUrl;
    }