Unauthorized contact requests - even with privacy ...

I am getting about 4 or 5 unauthorized contact requests daily.  I should not be getting these as I have set the privacy setting to my contact list only. How are they getting through and how can I stop this?
I have reset my password and block/report abuse for each of these "scammers".

basically, privacy settings can only prevent unwanted calls and/or instant messages from non-contacts, not contact requests.
CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
MORE TIPS, TRICKS AND UPDATES AT
skypefordummies.blogspot.com

Similar Messages

  • Can't stop Spotlight indexing, even with "Privacy"

    I keep dragging an external disk into the Privacy section of the Spotlight prefs panel, but the prefs panel refuses to show the drive or to STOP indexing it.
    HELP!
    (10.4.4)

    Aha!
    You have to be logged in as a System Administrator to change any of the Spotlight Privacy settings.
    No, Apple does NOT give you a chance to Authenticate; you Must log out and re-log in as an admin to fix this. WHAT A PAIN !

  • Contact request: Is this a scammer?

    Hi,
    I received a contact request yesterday with the (in my language) default invitation message from a Skype account I don't know. Said person has a picture of a heart with 2 puppet-like figures looking at it.
    Even though I've never had random contact-invite issues before, I'm smart enough to guess this might be a scammer and I should not accept this person.
    However, The only information shown on the profile of said person says that this person is from the same city as me.. Which is what kinda confuses me.
    So my questions are,
    do scammers fake being from the same city on their profile?
    Could it do any harm for me to accept said person and ask who they are? (I have no added phone number on my Skype profile, so that's secure). Or is there a different way of finding out who they are/where they are from?
    Solved!
    Go to Solution.

    viridee wrote:
    Hi,
    I received a contact request yesterday with the (in my language) default invitation message from a Skype account I don't know. Said person has a picture of a heart with 2 puppet-like figures looking at it.
    Even though I've never had random contact-invite issues before, I'm smart enough to guess this might be a scammer and I should not accept this person.
    However, The only information shown on the profile of said person says that this person is from the same city as me.. Which is what kinda confuses me.
    So my questions are,
    do scammers fake being from the same city on their profile?
    Could it do any harm for me to accept said person and ask who they are? (I have no added phone number on my Skype profile, so that's secure). Or is there a different way of finding out who they are/where they are from?
    possible, scammers might employ such tactics to entice their targets to accept their contact request.  Generally, it is not advisable to suspicious contact requests.  I think if that user is indeed someone who knows you, they may have attached a short message in their contact request to introduce themselve.
    CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
    MORE TIPS, TRICKS AND UPDATES AT
    skypefordummies.blogspot.com

  • Problems connecting to SSRS using IReportServerCredentials, the request failed with http status 401: unauthorized

    We have a hosted SSRS server and we access it's reports using the reportviewer in an ASP.net application.
    We are getting the error: The request failed with HTTP status 401: Unauthorized. When trying to run one of the reports. I have confirmed that the login details work when logging into the report manager page directly.
    I have implemented an instance of IReportServerCredentials in a separate class (below) and I call it from the page before it tries to access the report. I'm not sure if this is all I need but can't seem to find any other info.
    I have managed to gain access connecting to the external server from my PC and accessed the report, but when I promote the code to production and run it from there on my local PC I get the unauthorized message again: the request failed with http status
    401: unauthorized
    The class:
    [Serializable]
    public sealed class MyReportServerCredentials :
    IReportServerCredentials
    public WindowsIdentity ImpersonationUser
    get
    // Use the default Windows user. Credentials will be
    // provided by the NetworkCredentials property.
    return null;
    public ICredentials NetworkCredentials
    get
    // Read the user information from the Web.config file.
    // By reading the information on demand instead of
    // storing it, the credentials will not be stored in
    // session, reducing the vulnerable surface area to the
    // Web.config file, which can be secured with an ACL.
    // User name
    string userName =
    ConfigurationManager.AppSettings
    ["MyReportViewerUser"];
    if (string.IsNullOrEmpty(userName))
    throw new Exception(
    "Missing user name from web.config file");
    // Password
    string password =
    ConfigurationManager.AppSettings
    ["MyReportViewerPassword"];
    if (string.IsNullOrEmpty(password))
    throw new Exception(
    "Missing password from web.config file");
    // Domain
    string domain =
    ConfigurationManager.AppSettings
    ["MyReportViewerDomain"];
    return new NetworkCredential(userName, password);
    public bool GetFormsCredentials(out Cookie authCookie,
    out string userName, out string password,
    out string authority)
    authCookie = null;
    userName = null;
    password = null;
    authority = null;
    // Not using form credentials
    return false;
    The call to the class, just before the report is run:
    if (GetConnection.GetConnectionString().ToString().Contains("IP of external server removed"))
    invoiceviewer.ServerReport.ReportServerCredentials = new MyReportServerCredentials();
    We have tried so many things here, we don't even care whether the server authenticates or not but it appears to be as standard. Our hosting company has also drawn a blank and changed so many settings to no ava

    Hi Nasa1999,
    According to your description, you are getting the error: The request failed with HTTP status 401: Unauthorized when you access the report using the ReportViewer in an ASP.net application.
    Regarding the 401 error, it could cause by the Service Principal Name(SPN) for the account the Reporting Services is running under hasn’t been registered when the Reporting Services is configured to use Kerberos authentication. So in your scenario,
    please check if you are using Kerberos authentication. If that is a case, please make sure SPN is configured correctly. For more information, please refer to the similar thread:
    The request failed with HTTP status 401: Unauthorized. in SSRS.
    If issue persists, please check the Reporting Service error log (default location: %programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting Services\LogFiles) around the time that the error message thrown out.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • We need help with unwanted contact requests

    In the last 2 weeks, I have received 13 unwanted contact requests that I have blocked, which is roughly 2 unwanted contact requests for every Skype message or call I'm interested in receiving. 
    All of my privacy settings are set to "Contacts" and I do not publish my Skype ID on LinkedIn, the only social media site I use.
    What else can I do?

    Hello Gilad,
    Thank you for your contact!
    The script does not work, no error message comes up, I am sure it`s a
    stupid mistake but neither my boss nor I are programmers.
    Please have a look at the form enclosed, the field in question (field
    name "calculated currency value", red border) is on the top right  and
    refers to the field "FX" (field name "FXname 4800") below (blue border)
    Both fields are in number format so I don`t know why this doesn't work,
    what else can it be?
    With kind regards
    Ursula

  • Getting error "The request failed with HTTP status 401: Unauthorized " for _vti_bin/Authentication.asmx

    Hi All,
    My Web application is FBA application and I am using the lists.asmx services in my custom webpart. To run this lists.asmx service in FBA enabled site we need to use Authentication.asmx service..
    I referred this link:
    http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/21867e28-75d5-42c8-850b-bfb5c5894eed .
    I wrote a code as mentioned in this article but now I am getting  error "The request failed with HTTP status 401: Unauthorized " for Authentication.asmx service itself. Can somebody help me why it is not working even everything looks
    correct?
    Thank you.
    Regards,
    Rahul Shinde.

    Hi Rahul,
    Give permissions to the user on the web application.
    Central Admin -->Application Management --> Application Security -->Policy for web application --> Select the
    web application --> Add User
    For more information, refer to
    http://microsoftdev.blogspot.com/2009/10/sharepoint-web-services-access-give.html
    http://www.codeproject.com/Articles/24244/Access-a-Forms-Based-SharePoint-Site-s-Web-Service
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Spam with contact requests

    So a while ago like a month ago I stopped talking to this one person.  He started to get kinda strange acting wierd so I blocked him, but ever since then I have been getting contact requests from him.  It is so bad every day it's a diffrent person today it was "Jennifer".  I'm wondering is there a way to stop this can I contact skype to have this persons IP banned from my account?  Any form of help is appreciated thank you.

    Contact requests can't be blocked.  Even if they were blockable by IP, people would just use a proxy/VPN to get around that block.  It's similar to getting spammed by an autodialer with phone calls.   For all you know all your Skype names were posted in an online forum and harvested by spam bots ot make the situation worse. The only solution available  is to create a new account and be more selective of the people you choose as contacts and the groups you create/join.  I'm part of groups but the ones I'm a part of everyone behaves like a grown adult and wouldn't stoop to that level.   The alternative is to contact local law enforcement and see what type of cyberbullying policies/laws there are to see if you can hold that person accountable for their actions (harassment).  

  • Record center - submit file soap call throwing The request failed with http status 401: Unauthorized" exception

    Hi, I am trying to implement custom hold order / send to in sharepoint 2010 to send files in to holds / record center.
    I am at the last step where I am trying submit the metadata using soap call- submit file
    [SoapDocumentMethod("http://schemas.microsoft.com/sharepoint/soap/recordsrepository/SubmitFile", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/recordsrepository/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/recordsrepository/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
    public string SubmitFile([XmlElement(DataType = "base64Binary")] byte[] fileToSubmit, [XmlArrayItem(IsNullable = false)] Microsoft.SharePoint.RecordsRepositoryProperty[] properties, string recordRouting, string sourceUrl, string userName)
    return (string)base.Invoke("SubmitFile", new object[] { fileToSubmit, properties, recordRouting, sourceUrl, userName })[0];
    I am getting an error "The request failed with http status 401: Unauthorized".
    Actual file was transferred successfully but while transferring the properties (metadata) I am getting this exception.
    ganesh

    Hi ganesh,
    Please try to disable the loop back check, compare the result:
    In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    Right-click Lsa, point to New, and then click DWORD Value.
    Type DisableLoopbackCheck, and then press ENTER.
    Right-click DisableLoopbackCheck, and then click Modify.
    In the Value data box, type 1, and then click OK.
    Quit Registry Editor, and then restart your computer.
    In addition, please check if these links are useful:
    http://www.sharepointpills.com/2011/10/send-sharepoint-2010-document-to.html
    http://www.codeproject.com/Articles/497729/UploadingplusDocumentsplusProgramaticallyplustoplu
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Basic Authentication:The request failed with HTTP status 401: Unauthorized.

    Are there any problems with Basic Authentication? I have a test BPC 5.1 SP3 single server installation. When I set the IIS Virtual Directory to use Basic Authentication instead of Integrated Security, I get a 401 Unauthorized. It works fine when I use Integrated Security.
    Thanks,
    Stephen
    Server Error in '/OSoft' Application.
    The request failed with HTTP status 401: Unauthorized.
    System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
    [WebException: The request failed with HTTP status 401: Unauthorized.]
       OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset) +1498
       OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e) +216
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Control.OnInit(EventArgs e) +67
       System.Web.UI.Control.InitRecursive(Control namingContainer) +241
       System.Web.UI.Page.ProcessRequestMain() +197

    This issue is not really related to SP3 upgrade it is more a problem of windows. Tos solve this issue please read the follow article from Microsoft and do the steps requested to solve this issue.
    http://support.microsoft.com/kb/926642/
    After rebooting your server your access issue using Basic authentication should be solved.
    This problem happen usually into multiserver environment.
    So I would like to know if you are using domain users with local users in the same time on that computer.
    Because even that can be a problem.
    Regards
    Sorin Radulescu

  • Suggestion: Contact Requests - Privacy Options

    Suggestion:
    Addition to Advanced Privacy: options to control who can send the user a Contact Request.
    Example:
    Allow Contact Requests from...
    anyone
    people in my Contact's Contact list
    no one
    from a list of email addresses  (Add email address)
    from a list of Skype names (Add Skype name)
    Details of Example:
    Anyone: anyone may send the user a Contact Request.
    People in my Contact's Contact list: comparable to "Friends of Friends" in other websites.
    No one: User will not recieve Contact Requests.
    From a List: this option allows a user to allow specific users to send them a Contact Request. Anyone who is not on the list cannot send a contact request to the user. To add names to this list, the user would input a Skype name or email address in a textbox. The default list is blank.
    (parenthesis) = clickable buttons. When clicked, a window  will open in Skype and prompt the user to enter an email address and/or skype name.
    =  circles the user would click to choose the option.
    To reduce the amount of options, email and name could be combined into one section.
    Some users might want to choose "people in my Contact's Contact list" and the list of users, I suggest the ability to select multiple options, unless the selected option would conflict with another.
    The list of email addresses and/or names that the user has added could be accessable through menu options, and/or somewhere within the Privacy Settings.
    If something like this was implemented, I believe the numerous complaints about strangers sending unwanted Contact Requests would be greatly reduced, if not eliminated.
    I am aware of the current solution with unwanted Contact Requests: to Block and Report, and make our profile as "uninteresting" and plain as possible. I have done as suggested, and I still get unwanted Contact Requests. I do not want to be blocking a dozen requests per day, but that's what the current solution leaves us with. To me, and many other users, "Block and Report" is not a satisfactory solution, but it is our only option at this point if we want to continue using Skype.
    I'd also wish to point out that for some users, the inability to prevent Contact Requests is unsafe. Some users are mentally impared, or very young, and don't know a stranger from a friend. I'd hate to think that some of these innocent users could be financially, physically, and/or emotionally hurt by one of these deceptive contacts. Online safety is important.
    P.S. Thank you Skype for allowing us to communicate to you in these forums.

    Hi,
    Skype application has built-in privacy settings that you can use to restrict who is allowed to contact you, but you can still receive new contact requests. This allows friends that you do not have in your contact list to ask to share contact details with you.
    Unfortunately, there is a small minority of people who abuse the Skype software. We have resources dedicated to a number of ongoing anti-spam initiatives so that we can effectively deal with people who send unsolicited messages.
    Please continue to block and report abusive users to us. This helps us to identify and prevent spammers.
    To block contact in Skype (Windows), please visit: https://support.skype.com/faq/FA10488
    To block contact in Skype (Mac), please visit:
    https://support.skype.com/en/faq/FA10870/how-do-i-manage-my-contacts-in-skype-for-mac-os-x?frompage=...
    We are working hard to prevent spammers from contacting you, and we do take action against them where appropriate.
    Hope this helps.
    Julian

  • "The request failed with HTTP status 401: Unauthorized"

    Hi,
    I'm trying to get both RSS feeds and SSRS reports on a web application which is having NTLM authentication without Kerberos. The catch is proxy setting, if I give <proxy autoDetect="false" /> in web.config of my sharepoint web
    application SSRS reports will be rendered in SQL Server Report viewer perfectly (I deploy using BIDS), but RSS viewer webpart will not display my internet feeds. If I give
    <proxy autoDetect="true" /> RSS feeds are displayed properly but SSRS report will throw the following error.
    The request failed with HTTP status 401: Unauthorized.
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [WebException: The request failed with HTTP status 401: Unauthorized.]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +412862
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300
    Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.ListRenderingExtensions() +53
    Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.ListRenderingExtensions() +207
    Microsoft.Reporting.WebForms.ServerReport.ListRenderingExtensions() +130
    Microsoft.ReportingServices.SharePoint.UI.WebParts.ActionMenu.OnPreRender(EventArgs e) +180
    System.Web.UI.Control.PreRenderRecursiveInternal() +108
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    I tried to work around this by adding proxy settings with bypass list.
    <system.net>
        <defaultProxy useDefaultCredentials="true">
          <proxy proxyaddress="http://<proxy IP address>:<port>" bypassonlocal="true" usesystemdefault="true" />
          <bypasslist>
      <add address="<my report server>" />
      <add address="http://<report server>:8080/reportserver/" /> 
      <add address="<IP of my report server>" />
          </bypasslist>
        </defaultProxy>
    </system.net>
    This makes RSS feed to work but SSRS throw the above error. I would need some advice from Microsoft on how to fix this.
    Note: My sharepoint site cannot be anonymous. I have just once service account that runs sql server service, report service, sharepoint services etc. This account is local admin on all servers, has highest access on sql box, run SSRS web service and app
    pools, etc.
    I have four servers, 2 WFE in windows load balanced, 1 app server (running Central admin and report service in sharepoint integrated mode), 1 db server hosting all content and config dbs and report server db.
    Regards,
    Manoj
    Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

    Hi,
    Thanks to share your post.
    For the issue,
    do you mean that the error happen with the use of NTLM authentication without Kerberos? If yes, the possible cause should be the lacking of Kerberos.
     My suggestion is to implement the Kerberos authentication in your environment. You may check it and test it. For the detailed steps of implementing of the Kerberos:
    http://blogs.msdn.com/b/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx.
    http://blogs.msdn.com/b/james_world/archive/2007/08/20/essential-guide-to-kerberos-in-sharepoint.aspx.
    Hope this could help you!
    Leo

  • Contact request showing a pending IM message with ...

    Hi - received a contact request today from a person unknown to me.
    When I look at the request, there is an IM showing in the history, with the status 'pending', that looks like it has come from me (it has my actual name at the top of the message line, not my user name).
    That is odd all by itself, but the content of the IM is one of my passwords, used in other applications/programs.
    I have declined the request - and have noticed that the person requesting is offline.
    Has anyone ever experienced this?
    I have now changed all apps / progs that use this password but it is a little worrying.  How did they know my password?  It absolutely is not easy to guess and I have never disclosed it.
    I am running Skype on a iMac, iPhone 4S and an iPad 2.
    Any suggestions on what is going on here?
    thanks....

    but this means ill have to re enter all my contacts and passwords. i store all my invoices on my phone via an invoice app. restoring from new would mean i would lose all that info which i cant afford to do. thanks for the help tho. maybe ill just have to ride it out till the cache clears out.

  • SSRS 2012 - The request failed with HTTP status 401: Unauthorized.

    I have SSRS Reporting Services 2012 load balanced on two servers. 
    Both servers are running Windows Server 2012 R2.
    I have a Web Application that renders reports by utilizing this SSRS Reporting Services 2012. 
    When the application generates a report using load balancing I get error the message, “The request failed with HTTP status 401: Unauthorized.”
    However, using only one reporting server, the application is able to render the report just fine. 
    It seems that when the requests are shared between the servers the problem occurs.
    One solution is to configure Load Balancing with “Source IP” persistence. 
    This seems to work.  I believe this is a “sticky” session. 
    With this Load Balancing configuration, the application can render the report just fine. 
    (However, I have not done complete testing.)
    The problem occurs when calling the service ListChildren(string, bool ) on SSRS. 
    I have been researching online.  I tried modifying the registry on the servers based on online articles (see below.)
    Here are some articles I have looked at.
    http://msdn.microsoft.com/en-us/library/cc281307(v=sql.110).aspx
    http://blogs.msdn.com/b/lukaszp/archive/2008/07/18/reporting-services-http-401-unauthorized-host-headers-require-your-attention.aspx
    http://blogs.msdn.com/b/lukaszp/archive/2008/07/18/reporting-services-http-401-unauthorized-host-headers-require-your-attention.aspx
    Is there a better solution?  Will Load Balancing with “Source IP” persistence be an acceptable solution?  Is there a patch needed for the servers or SSRS?  Please let me know.

    Hi GoGladiator,
    Generally, "The request failed with HTTP status 401: Unauthorized" occurs when
    The service account used to connect to the Report Server is not authorized.
    The Reporting Services is configured to use Kerberos, however, we didn't register Service Principal Name (SPN) for the account the Reporting Services is running under.
    So, to fix this issue, we can refer to the follow steps:
    Make sure the user is able to connect to the Report Server.
    If using Kerberos authentication, please make sure SPN is configured correctly. If using Kerberos authentication, please make sure SPN is configured correctly.
    For more information about Kerberos Authentication and how to register SPN for a report server in Reporting Services, please see the articles below:
    Configure Windows Authentication on the Report Server
    Register a Service Principal Name (SPN) for a Report Server
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error http the request failed with http status 401: unauthorized

    Hi,<o:p></o:p>
    We are currently developing a Web Part for a
    dashboard that connects from SharePoint 2010 to Project Server, we are trying
    to connect via the PSI web service and fetch the project data but it is giving
    the same error "The request failed with HTTP
    status 401: Unauthorized". We are having a huge
    issue with gaining authorization through the PSI and cannot figure out what the
    problem is. We are using Project Server 2010, SharePoint 2010 and Visual Studio
    2010.<o:p></o:p>
    The person developing this has administrative
    rights on both servers and it is running on his account. However, this is his
    first experience with Project Server. Could some provide some guidance?<o:p></o:p>
    Does anyone have any suggestions?<o:p></o:p>
    Thanks,<o:p></o:p>
    Aba
    <o:p></o:p>

    Hi,
    Have the credentials been set for the web service? Or are you trying to pass the credentials of the user accessing the webpart? In the second case, the user must have permissions in project server
    It would be useful if you can share the part of the code that fails
    Paul

  • The request failed with HTTP status 401: Unauthorized Invoke Webservice

    I want Adding a Web reference dynamically at Runtime follow
    SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
    internal static object CallWebService(string webServiceAsmxUrl, string serviceName, string methodName, object[] args)
    System.Net.
    WebClient client = new System.Net.WebClient();
    client.Credentials =
    new NetworkCredential("username", "pass");
    // Connect To the web service
    System.IO.
    Stream stream = client.OpenRead(webServiceAsmxUrl + "?wsdl");
    // Now read the WSDL file describing a service.
    ServiceDescription description = ServiceDescription.Read(stream);
    ///// LOAD THE DOM /////////
    // Initialize a service description importer.
    ServiceDescriptionImporter importer = new ServiceDescriptionImporter();
    importer.ProtocolName =
    "Soap12"; // Use SOAP 1.2.
    importer.AddServiceDescription(description,
    null, null);
    // Generate a proxy client.
    importer.Style =
    ServiceDescriptionImportStyle.Client;
    // Generate properties to represent primitive values.
    importer.CodeGenerationOptions = System.Xml.Serialization.
    CodeGenerationOptions.GenerateProperties;
    // Initialize a Code-DOM tree into which we will import the service.
    CodeNamespace nmspace = new CodeNamespace();
    CodeCompileUnit unit1 = new CodeCompileUnit();
    unit1.Namespaces.Add(nmspace);
    // Import the service into the Code-DOM tree. This creates proxy code that uses the service.
    ServiceDescriptionImportWarnings warning = importer.Import(nmspace, unit1);
    if (warning == 0) // If zero then we are good to go
    // Generate the proxy code
    CodeDomProvider provider1 = CodeDomProvider.CreateProvider("CSharp");
    // Compile the assembly proxy with the appropriate references
    string[] assemblyReferences = new string[5] { "System.dll", "System.Web.Services.dll", "System.Web.dll", "System.Xml.dll", "System.Data.dll" };
    CompilerParameters parms = new CompilerParameters(assemblyReferences);
    CompilerResults results = provider1.CompileAssemblyFromDom(parms, unit1);
    // Check For Errors
    if (results.Errors.Count > 0)
    foreach (CompilerError oops in results.Errors)
    System.Diagnostics.
    Debug.WriteLine("========Compiler error============");
    System.Diagnostics.
    Debug.WriteLine(oops.ErrorText);
    throw new System.Exception("Compile Error Occured calling webservice. Check Debug ouput window.");
    // Finally, Invoke the web service method
    object wsvcClass = results.CompiledAssembly.CreateInstance(serviceName);
    MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
    return mi.Invoke(wsvcClass, args);
    else
    return null;
    When i call CallWebService method , it is error
    The request failed with HTTP status 401: Unauthorized.
    Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
    Source Error:
    Line 1880: MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
    Line 1881:
    Line 1882: return mi.Invoke(wsvcClass, args);
    Help me solve this problem.
    Thanhks

    Thank advance
     I tried it, but it till error
    Stack Trace:
    [WebException: The request failed with HTTP status 401: Unauthorized.]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431201
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
    HSCVWS.HelloWorld() +31
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
    System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
    System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
    WsProxy.CallWebService(String webServiceAsmxUrl, String serviceName, String methodName, Object[] args) in d:\ViDu01\ttt.aspx.cs:1882
    ttt.Page_Load(Object sender, EventArgs e) in d:\ViDu01\ttt.aspx.cs:27
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2009-06-09 02:43:10
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
    2009-06-09 02:43:10 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
    2009-06-09 02:43:13 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
    2009-06-09 02:43:16 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
    2009-06-09 02:43:17 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
    2009-06-09 02:44:42 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 servername\username 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 200 0 0

Maybe you are looking for

  • How do I install a driver on my macbook pro

    How do I install a driver on my macbook pro

  • Adobe Flash Download from Internet

    I can't view any videos on my MacBook Pro without Adobe Flash and it is not available through Apple App Store. I do a lot of banking on my computer and I've read that Adobe Flash has a lot of problems. I'm concerned it might affect the security of my

  • Using iMac and the display for MacBook Air

    Evening all I'm trying to hook my MacBook Air up to my iMac in order to use my iMac as the Macbook's display.  I've just been out and bought a thunderbolt cable, plugged one end into my Macbook and the other into my iMac... pressed command +  F2 but

  • Making a photo book from multiple albums

    Hello. I recently returned from week long trip and have created photo albums for each individual day (9 albums) I now want to bring them all into 1 photo book but cannot seem to figure out how to do it. Do I have to just copy everything into one huge

  • ADOBE PDF form to JMS message posting

    I am using ADOBE PDF interactive Form as client. When I submit the form, Can ADOBE put the message to JMS queue. Is there any APIs to create connection for the Queues. Thanks, Saravanan G