Esempio n. 1
0
 public void getCommentFromLocationIdAndTypeOfComment(int locationId, int typeOfCommentId)
 {
     var client = new WebService1SoapClient(
         new BasicHttpBinding(BasicHttpSecurityMode.None)
         {
             MaxReceivedMessageSize = 2147483647,
             MaxBufferSize = 2147483647
         },
         new EndpointAddress("http://smartaudiocityguide.azurewebsites.net/WebServices.asmx"));
     WebService1SoapClient webService = new WebService1SoapClient();
     client.getSoundCommentFromLocationAndTypeOfCommentAsync(locationId, typeOfCommentId, "wonders");
     client.getSoundCommentFromLocationAndTypeOfCommentCompleted += new EventHandler<getSoundCommentFromLocationAndTypeOfCommentCompletedEventArgs>(webService_getSoundCommentFromLocationAndTypeOfCommentCompleted);
 }