Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using WebApplication2.MyWebServiceReference;
- MyWebServiceReference.UserCredentials credentials = new UserCredentials();
- credentials.username = "uname";
- credentials.password = "pwd";
- MyWebServiceReference.Options options = new Options ();
- options.includeImages = false;
- options.maxWidth = 0;
- options.maxHeight = 0;
- options.maxThumbnailWidth = 0;
- options.maxThumbnailHeight = 0;
- MyWebServiceReference.Result response = new Result();
- MyWebServiceReference.SoapClient client = new SoapClient();
- response = client.MyMethod(credentials, options, 100);
- var request = System.Net.WebRequest.Create("http://testurl.asmx?op=GetResponse");
Add Comment
Please, Sign In to add comment