Skip to Content
author's profile photo Former Member
Former Member

Authentication failure message while Calling UMWebService from .Net

I am trying to consume UMWebService published in EP. The URL for this webservice is: "http://<server>:<port>/irj/servlet/prt/soap/UMWebService?Wsdl".

I ceated a web reference to this WebService in my asp.Net project. When I called one of the methods on this webservice, a SOAP exception occured with the following message: "The User Authentification is not correct to access to the Portal Service UMWebService or the service was not found."

I tried setting credential to the the webservice with a network credential using user name and password. Still it won't help.

Request thoughts or suggestions to overcome this problem. If anybody has called this webservice from .Net please let us know the correct approach.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jun 16, 2005 at 10:39 AM

    Hi Subrat,

    You can type the following code

    Dim your_object As New Soap2DB.WebReference3.soapin_MIService()

    object.PreAuthenticate = True

    object.Credentials = System.Net.CredentialCache.DefaultCredentials

    object.Credentials = New Net.NetworkCredential("username", "password")

    If this is of some help, do award points 😊



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Subrat

      Yes that is my Webservice proxy class. I am making an object of the class and after doing necessary steps for authorization, the appropriate method is called.

      Earlier I had also faced with the authorization problem but by this code snippet it was removed.

      For any further queries kindly revert back.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.