Re: Access denied: Calling a .NET webservice from a java client

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jan Tielens (jan_at_no.spam.please.leadit.be)
Date: 05/25/04

  • Next message: Jan Tielens: "Re: web services (proxy port)"
    Date: Tue, 25 May 2004 07:08:41 +0200
    
    

    I think you'll get more answers if you post your question in a Java
    newsgroup. :-)

    -- 
    Greetz
    Jan
    ________________
    Read my weblog: http://weblogs.asp.net/jan
    "Joan" <u3aei5e02@sneakemail.com> schreef in bericht
    news:a5981ed696078b62a58cbf28f6e67afb@localhost.talkaboutsoftware.com...
    > Hi,
    > I have a JAVA client which invokes a web-service which is deployed on
    > IIS.
    > I got the following error while trying to invoke the web-service: "access
    > denied (401)"
    > To my knowledge, this means that i need to set the credentials. In C# it
    > is done like this:
    > X.Credentials= System.Net.CredentialCache.DefaultCredentials;
    >
    > How should I do it in a JAVA client?
    >
    

  • Next message: Jan Tielens: "Re: web services (proxy port)"

    Relevant Pages

    • Re: JAVA as C (or C++) Front End
      ... are there any pros and cons to which one invokes the other. ... Java calling C is easier. ...
      (comp.lang.java.programmer)
    • RE: Word 2007 Automation BUG? in Windows 2008 Service C++
      ... Hey, ... I am using C# and Java though. ... invokes the exe. ... The Document Open method does not fail but the document is always NULL. ...
      (microsoft.public.office.developer.automation)
    • Re: Reading HDD serialNo
      ... number in java? ... 2: learn about JNI ... write a native method that invokes the code from step 1 ...
      (comp.lang.java.programmer)
    • Re: Parameter-Uebergabe in Axis2 - Webservice
      ... TestService.java frei in Java programmieren. ... Das ist ein eigener Web-Service ... Archiv im Verzeichnis class mit jar-Tool erstellen: ... musst) und beachte ggf. ...
      (de.comp.lang.java)
    • Re: JNI core file.
      ... I have a Java client that communicates with a server using RMI. ...
      (comp.lang.java.programmer)